I just tried again with the macro stripped out (very simple extensions.conf file) and I still have the same problem where the system launches rxfax and then the line just eventually times out. I thought I may have a problem with my zapata.conf file, so I tried with the physical fax machine on one of the extensions and it received without any problems. I think that should rule out any issues in the zapata.conf file?

I am not sure where to go from here since I am not getting any errors at all. I am running the CLI in full debug and verbose modes and am not getting any errors. Are there any ideas where I should start? I tried running older versions of spandsp (pre2 and pre4) and newer versions of libtiff (3.7.2) with exactly the same results. I am currently running what I believe is the recommended configuration of libtiff 3.5.7 and spandsp pre10.

Any ideas?

Derrick

Derrick Knight wrote:

Dave Cotton wrote:
On Mon, 2005-03-28 at 18:18 -0800, Derrick Knight wrote:
  
I have got my Asterisk server running with TDM400 card (2xFXO & 2xFXS). 
I originally had the system configured with a Panasonic fax machine on 
one of the extensions. Due to the high volume of fax spam, I figured it 
would be a much better idea to capture the faxes as TIF or PDF files to 
minimize wasted paper, etc. I have downloaded, compiled and installed 
spandsp and can see the rxfax and txfax applications from within 
Asterisk. When a fax comes in, it calls the rxfax application and then 
does nothing. Here is my log:

Connected to Asterisk CVS-HEAD-03/28/05-16:44:11 currently running on 
video (pid = 22837)
video*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
    -- Hungup 'Zap/3-1'

I am running:
Fedora Core 3 (2.6.10-1.770_14)
Asterisk (CVS-HEAD-03/28/05-16:44:11)
SpanDSP 0.0.2pre10
libtiff 3.5.7 (including dev source)

Any guidance would be appreciated.
    

This is what I'm using albeit on an X100, that does work, I seem to
remember having trouble with the macro so used this instead.

[analog-in]
;
exten => s,1,System(/bin/echo -n -e "'@CALL${CALLERIDNAME} ~
${CALLERIDNUM}'" | nc -q0 -w1 192.168.1.161 10629)
exten => s,2,Answer
exten => s,3,GotoIf($[${CALLERIDNUM} = ${DAVE_MOBILE}]?disa,s,1)
exten => s,4,SetCallerID(9${CALLERIDNUM})
exten => s,5,Dial(${ALLPHONES},20,tr)
exten => s,6,Voicemail(u${INSTITUTE_VM})
exten => s,7,Hangup
exten => s,106,Voicemail(b${INSTITUTE_VM})
exten => s,107,Hangup
;
exten => fax,1,SetCallerID(${CALLERIDNUM})
exten => fax,2,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
exten => fax,3,rxfax(${FAXFILE})
exten => fax,4,System(/usr/bin/mailfax ${FAXFILE} ${EMAILADDR}
${CALLERID})
exten => fax,5,Hangup
;

Dave Cotton

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



  

_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to