Derrick Knight
2005-Apr-01 09:52 UTC
[Asterisk-Users] Must be configuring something wrong spanDSP rxfax
I have rebuilt my * server back to a Linux 2.4 kernel in hopes that with a clean install with a well founded kernel would resolve my spanDSP rxfax problem. Unfortunately, I am still in exactly the same spot with the application (rxfax) loaded into * and successfully able to view it with the show application rxfax command in *CLI. Can someone help me to understand where I am going wrong? Fresh build of Slackware 10.0 with 2.4.26, libtiff-3.5.7, asterisk 1.0.7 (CVS-HEAD-03/31/05-13:39:58), spanDSP 0.0.2pre10 Asterisk is functioning normally with full voicemail, etc. # cd /usr/src/spandsp/spandsp-0.0.2/ # ./configure --prefix=/usr # make # make install # cd /usr/src/spandsp # cp app*fax.c /usr/src/asterisk/apps # cp apps_makefile.patch /usr/src/asterisk/apps # manually patch the Makefile in /usr/src/asterisk/apps with the + lines # cd /usr/src/asterisk # make clean # make # make install # asterisk -vvvvvvvvgc When I receive an inbound fax, the *CLI shows the following: homey*CLI> -- Starting simple switch on 'Zap/3-1' -- Executing SetMusicOnHold("Zap/3-1", "default") in new stack -- Executing Answer("Zap/3-1", "") in new stack -- Executing Dial("Zap/3-1", "Zap/1|15") in new stack -- Called 1 -- Zap/1-1 is ringing -- Zap/1-1 is ringing -- Redirecting Zap/3-1 to fax extension -- Hungup 'Zap/1-1' -- Executing Macro("Zap/3-1", "faxreceive") in new stack -- Executing SetVar("Zap/3-1", "FAXFILE=/data/fax/1112059186.0.tif") in new stack -- Executing RxFAX("Zap/3-1", "/data/fax/1112059186.0.tif") in new stack /* NOTE, there is a delay here after the fax machine establishes connection, then finally gives up with a message stating no response from the fax (rxfax in this case) */ -- Hungup 'Zap/3-1' Here is my extensions.conf: [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp ; Console interface for demo TRUNK=Zap/g9 ; Trunk interface TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0) [start] exten => s,1,SetMusicOnHold(default) exten => s,2,Answer() exten => s,3,Dial(Zap/1,15) exten => s,4,Voicemail,u6000 exten => s,101,Voicemail,u6000 exten => s,102,Voicemail,u6000 [desks] ; staff extensions exten => 6000,1,Dial(Zap/1,15) exten => 6000,2,Voicemail,u6000 exten => 6000,101,Voicemail,u6000 exten => 6000,102,Voicemail,u6000 ; Fax exten => fax,1,SetVar(FAXFILE=/data/fax/${UNIQUEID}.tif) exten => fax,2,rxfax(${FAXFILE}) exten => fax,3,Hangup [vm] ; voicemail exten => 8500,1,VoicemailMain [services] exten => _9.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) exten => _9.,2,Congestion [incoming] ; context for all incoming calls include => start include => desks include => vm [outbound] ignorepat => 9 include => desks include => vm include => services Can anyone see anything I am doing wrong? THANKS! -- Derrick Knight derrick@freerangeminds.com