Page 1 of 1

Incompatibility w/ Ast 1.8.3.2 & res_fax_digu-1.8.0_1.3.0 ?

PostPosted: Wed Apr 20, 2011 11:48 am
by riovista
Hi,

Our fax stopped working after a minor upgrade & I noticed that the faxes started exiting with non-zero. See log below:

Code: Select all
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [5551234@from-zaptel:1] Set("DAHDI/i1/8005551212-3f", "DID=5551234") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [5551234@from-zaptel:2] Goto("DAHDI/i1/8005551212-3f", "s,1") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:1] NoOp("DAHDI/i1/8005551212-3f", "Entering from-dahdi with DID == 5551234") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:2] Ringing("DAHDI/i1/8005551212-3f", "") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:3] Set("DAHDI/i1/8005551212-3f", "DID=5551234") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:4] NoOp("DAHDI/i1/8005551212-3f", "DID is now 5551234") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:5] GotoIf("DAHDI/i1/8005551212-3f", "1?dahdiok:checkzap") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:9] NoOp("DAHDI/i1/8005551212-3f", "Is a DAHDI Channel") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:10] Set("DAHDI/i1/8005551212-3f", "CHAN=i1/8005551212-3f") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:11] Set("DAHDI/i1/8005551212-3f", "CHAN=i1/8005551212") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:12] Macro("DAHDI/i1/8005551212-3f", "from-dahdi-i1/8005551212,5551234,1") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:13] NoOp("DAHDI/i1/8005551212-3f", "Returned from Macro from-dahdi-i1/8005551212") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@from-zaptel:14] Goto("DAHDI/i1/8005551212-3f", "from-pstn,5551234,1") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [5551234@from-pstn:1] Macro("DAHDI/i1/8005551212-3f", "rx-fax,2125551234,michael@riovista.net") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:1] NoOp("DAHDI/i1/8005551212-3f", "**** FAX RECEIVE ****") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:2] Set("DAHDI/i1/8005551212-3f", "FAXOPT(ecm)=yes") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:3] Set("DAHDI/i1/8005551212-3f", "FAXOPT(headerinfo)=Rio Vista") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:4] Set("DAHDI/i1/8005551212-3f", "FAXOPT(localstationid)=2125551234") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:5] Set("DAHDI/i1/8005551212-3f", "FAX2EMAIL=michael@riovista.net") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:6] Set("DAHDI/i1/8005551212-3f", "FAXOPT(maxrate)=14400") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:7] Set("DAHDI/i1/8005551212-3f", "FAXOPT(minrate)=2400") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:8] Set("DAHDI/i1/8005551212-3f", "FAXFILE=20110419-102637-8005551212-2125551234") in new stack
[Apr 19 10:26:37] VERBOSE[5174] pbx.c:     -- Executing [s@macro-rx-fax:9] ReceiveFAX("DAHDI/i1/8005551212-3f", "/var/spool/asterisk/fax/20110419-102637-8005551212-2125551234.tiff") in new stack
[Apr 19 10:26:37] VERBOSE[5174] res_fax.c:     -- Channel 'DAHDI/i1/8005551212-3f' receiving FAX '/var/spool/asterisk/fax/20110419-102637-8005551212-2125551234.tiff'
[Apr 19 10:26:37] VERBOSE[5174] res_fax_digium.c:     -- Channel 'DAHDI/i1/8005551212-3f' FAX session '0' started
[Apr 19 10:27:31] VERBOSE[5175] res_fax_digium.c:     -- Channel 'DAHDI/i1/8005551212-3f' FAX session '0' is complete, result: 'SUCCESS' (FAX_SUCCESS), error: 'NO_ERROR', pages: 1, resolution: '204x98', transfer rate: '14400', remoteSID: ''
[Apr 19 10:27:31] VERBOSE[5174] app_macro.c:   == Spawn extension (macro-rx-fax, s, 9) exited non-zero on 'DAHDI/i1/8005551212-3f' in macro 'rx-fax'
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:   == Spawn extension (from-pstn, 5551234, 1) exited non-zero on 'DAHDI/i1/8005551212-3f'
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:     -- Executing [h@from-pstn:1] Macro("DAHDI/i1/8005551212-3f", "hangupcall,") in new stack
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:     -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/8005551212-3f", "1?skiprg") in new stack
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:     -- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/i1/8005551212-3f", "1?skipblkvm") in new stack
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:     -- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/i1/8005551212-3f", "1?theend") in new stack
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:     -- Executing [s@macro-hangupcall:9] Hangup("DAHDI/i1/8005551212-3f", "") in new stack
[Apr 19 10:27:31] VERBOSE[5174] app_macro.c:   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/i1/8005551212-3f' in macro 'hangupcall'
[Apr 19 10:27:31] VERBOSE[5174] pbx.c:   == Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/i1/8005551212-3f'
[Apr 19 10:27:31] VERBOSE[5174] chan_dahdi.c:     -- Hungup 'DAHDI/i1/8005551212-3f'


My configuration is as follows:

Code: Select all
[root@voip /]# rpm -qa | egrep '(asterisk|dahdi|libpri)'
dahdi-firmware-tc400m-MR6.12-1_centos5
asterisk18-core-1.8.3.2-2_centos5
asterisk18-doc-1.8.3.2-2_centos5
kmod-dahdi-linux-2.4.1.2-1_centos5.2.6.18_238.9.1.el5
dahdi-tools-2.4.0-2_centos5
asterisk18-voicemail-1.8.3.2-2_centos5
dahdi-linux-2.4.1.2-1_centos5
asterisk-sounds-moh-opsound-ulaw-0.0-4_centos5
kmod-dahdi-linux-2.4.1-2_centos5.2.6.18_194.32.1.el5
asterisk18-addons-mysql-1.8.3.2-2_centos5
asterisk18-alsa-1.8.3.2-2_centos5
asterisk18-1.8.3.2-2_centos5
dahdi-firmware-vpmadt032-1.07-1_centos5
dahdi-firmware-2.0.0-1_centos5
asterisk-sounds-core-en-ulaw-1.4.20-1_centos5
libpri-1.4.11.5-1_centos5
asterisk18-addons-ooh323-1.8.3.2-2_centos5
asterisk18-dahdi-1.8.3.2-2_centos5
dahdi-firmware-oct6114-128-1.05.01-1_centos5
kmod-dahdi-linux-2.4.0-1_centos5.2.6.18_194.26.1.el5
asterisk18-addons-bluetooth-1.8.3.2-2_centos5
dahdi-firmware-oct6114-064-1.05.01-1_centos5
asterisk-sounds-core-en-gsm-1.4.20-1_centos5
asterisk18-addons-core-1.8.3.2-2_centos5
asterisk18-addons-1.8.3.2-2_centos5

[root@voip /]# uname -a
Linux voip 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:56 EDT 2011 i686 i686 i386 GNU/Linux


Here's my problem: I believe it terminates the dial plan because of the exit with non-zero although it does create the tiff file. Would this be the case or do I have another issue I need to address?

I can't begin to tell you how much we love asterisk and would like to thank all of the people from the community that have given advice over the years!