[Asterisk-Users] SpanDSP rxfax, no tiff.

Rob Danz rob at tancow.net
Wed Jul 13 08:17:55 MST 2005


Hello,

Let me start by saying I have checked the wiki and the archives and did find
some relative information.  I tried the suggestions in those threads, but
still have the same problem.

 

I'm using the CVS Asterisk from July 11, 2005.

Redhat FC2

SpanDSP 0.0.2pre18

Libtiff 3.5.7

Digium PCI card 1 FXO, 1FXS.

 

I have a single POTS line coming, but I have 2 numbers and am using
distinctive ring detection in *.

When you call my "fax" number, the ring detection does work, and does send
it to the fax context correctly.

 

The debugs show the call is answered, rxfax is invoked and it is trying to
write to the fax file.  After the sending party hangs up, it tries to
execute a script that will ultimately mail me the fax file.  But since the
tiff file isn't there to begin with, that fails.  The permissions on that
folder are 777 for now. so permissions aren't the problem.  

 

I saw a post by Steve Underwood from last year on a similar problem, but it
was looking like timing slips on the T1/E1 for that user . I'm just using a
POTS line though.  I've also done ztmonitor to look at the Rx and Tx levels.
Rx is a little hotter than Tx, but they're both well on the right hand side
of the scale.  

 

Any help is appreciated.  Debugs & extensions.conf excerpt are below.

Thanks,

Rob

 

Debug output ---

Jul 13 10:04:34 NOTICE[7975]: chan_zap.c:5759 ss_thread: Got event 2
(Ring/Answered)...

    -- Detected ring pattern: 93,0,0

    -- Distinctive Ring matched context fax

    -- Executing Answer("Zap/4-1", "") in new stack

    -- Executing Macro("Zap/4-1", "faxreceive") in new stack

    -- Executing Set("Zap/4-1",
"FAXFILE=/var/spool/asterisk/asterisk-fax/1121267067.12.tif") in new stack

    -- Executing RxFAX("Zap/4-1",
"/var/spool/asterisk/asterisk-fax/1121267067.12.tif") in new stack

    -- Executing System("Zap/4-1", "/usr/local/sbin/mailfax
/var/spool/asterisk/asterisk-fax/1121267067.12.tif ") in new stack

Jul 13 10:05:03 WARNING[7975]: app_system.c:75 system_exec_helper: Unable to
execute '/usr/local/sbin/mailfax
/var/spool/asterisk/asterisk-fax/1121267067.12.tif '

    -- Hungup 'Zap/4-1'

 

 

Extensions.conf section ---

[fax]

exten => s,1,Answer

exten => s,2,Macro(faxreceive)

exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR})

 

[macro-faxreceive]

exten => s,1,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif)

exten => s,2,rxfax(${FAXFILE})

exten => s,3,Set(EMAILADDR=yyyy at zzzzzzzzz.com)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050713/9ec41085/attachment.htm


More information about the asterisk-users mailing list