Etienne Pretorius
2005-Sep-28 07:14 UTC
[Asterisk-Users] Trying to cut out the paper work...
Hello everyone, Ok. I am at a bit of a loss.... and would like someone to point me in the right direction...(btw www.google.co.za did not give me ANY solutions). The issue at hand is simple, I get asterisk (1.0.9) to answer the incoming call with no problems... it does the fax detection thing with app "Answer" and well it goes to the perfectly right context and sets the varibles 100% correct. Then it calls app "rxfax({$FAXFILE})" and then it dies... Output from the full log: Sep 28 13:31:58 DEBUG[14709]: Took Zap/1-1 off hook Sep 28 13:31:58 DEBUG[14709]: Enabled echo cancellation on channel 1 Sep 28 13:31:58 DEBUG[14709]: No echo training requested Sep 28 13:31:58 VERBOSE[14709]: -- Executing Wait("Zap/1-1", "1") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Executing SetVar("Zap/1-1", "intype=QUE-200") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Executing Cut("Zap/1-1", "intype=intype|-|1") in new stack Sep 28 13:31:59 DEBUG[14709]: Expression is '0' Sep 28 13:31:59 VERBOSE[14709]: -- Executing GotoIf("Zap/1-1", "0?7:9") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Goto (from-pstn-reghours,s,9) Sep 28 13:31:59 DEBUG[14709]: Expression is '0' Sep 28 13:31:59 VERBOSE[14709]: -- Executing GotoIf("Zap/1-1", "0?10:12") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Goto (from-pstn-reghours,s,12) Sep 28 13:31:59 DEBUG[14709]: Expression is '1' Sep 28 13:31:59 VERBOSE[14709]: -- Executing GotoIf("Zap/1-1", "1?13:15") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Goto (from-pstn-reghours,s,13) Sep 28 13:31:59 VERBOSE[14709]: -- Executing Wait("Zap/1-1", "3") in new stack Sep 28 13:31:59 DEBUG[14709]: DTMF digit: f on Zap/1-1 Sep 28 13:31:59 VERBOSE[14709]: -- Redirecting Zap/1-1 to fax extension Sep 28 13:31:59 VERBOSE[14709]: == Spawn extension (from-pstn-reghours, fax, 0) exited non-zero on 'Zap/1-1' Sep 28 13:31:59 VERBOSE[14709]: -- Executing Goto("Zap/1-1", "ext-fax|in_fax|1") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Goto (ext-fax,in_fax,1) Sep 28 13:31:59 DEBUG[14709]: Expression is '1' Sep 28 13:31:59 VERBOSE[14709]: -- Executing GotoIf("Zap/1-1", "1?2:analog_fax|1") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Goto (ext-fax,in_fax,2) Sep 28 13:31:59 VERBOSE[14709]: -- Executing Macro("Zap/1-1", "faxreceive") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Executing SetVar("Zap/1-1", "FAXFILE=/var/spool/asterisk/fax/1127907113.0.tif") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Executing SetVar("Zap/1-1", "EMAILADDR=fax@kingsely.co.za") in new stack Sep 28 13:31:59 VERBOSE[14709]: -- Executing RxFAX("Zap/1-1", "/var/spool/asterisk/fax/1127907113.0.tif") in new stack Sep 28 13:32:03 DEBUG[14709]: DTMF digit: f on Zap/1-1 Sep 28 13:32:03 DEBUG[14709]: Fax already handled Sep 28 13:32:03 DEBUG[14709]: DTMF digit: f on Zap/1-1 Sep 28 13:32:03 DEBUG[14709]: Fax already handled I am using AMP and did all the compiling correctly on a Debian Sarge machine. It was busy_detect that used to kill the calls but now it seems to be the "DTMF" - or something as there is no file created during the call and there is obviously no file after the call. Disabling the DTMF in /etc/asterisk/zapata.conf causes the line (incoming call) not to be picked up by asterisk. Going back to a bug report, setting CFLAGS+=-DOLD_DSP_ROUTINES in the asterisk Makefile and doing a complete recompile yealds the same results. Under Debian, GhostScript is installed and libtiff giving me the required binaries to create a tiff and then to convert it into a pdf. Kernel 2.6.8-2-686 AMP-1.10.008 asterisk-1.0.9 asterisk-perl-0.08 lame-3.96.1-2.1.el3.rf.i386 libpri-1.0.9 mime-construct-1.9 mpg123-0.59r spandsp-0.0.2pre19 zaptel-1.0.9.1 -- Kind Regards Etienne