[Freeswitch-users] Fax *.tiff file deleted after call completion?

Mick Stevens mickstevens at yahoo.com
Wed Dec 19 13:38:28 MSK 2012


Hi FS Folks,

When testing fax receipt as per the wiki ( http://wiki.freeswitch.org/wiki/Mod_spandsp ) I "see/hear" the fax being sent & the *.tif file appear (briefly! :-)  ) in /tmp... But when the call has completed the *.tif file in /tmp disappears!?

I have tried incoming DDI's configured to my fax extension from two different carriers with the same result, both in terms of user experience & associated traces, so am "assuming" it's an FS problem (or, more accurately, a problem with MY fs config).

Any ideas guys, anybody else experienced this before?

Assoc. info...

fs extension config:

<extension name="test_rxfax_stream">
     <condition field="destination_number" expression="0123456789">
       <action application="log" data="Test CarrierX DDI for Fax ${destination_number}"/>
       <action application="answer" />
       <action application="playback" data="silence_stream://2000"/>
       <action application="set" data="fax_enable_t38_request=true"/>
       <action application="set" data="fax_enable_t38=true"/>
       <action application="rxfax" data="/tmp/FAX-${uuid}.tif"/>
       <action application="hangup"/>
     </condition>
   </extension>

In /tmp one minute... (observation: the fax file appears very small?)

root at fs:/tmp# ls -la
total 12412
drwxrwxrwt  4 root     root         4096 2012-12-19 10:07 .
drwxr-xr-x 27 root     root         4096 2012-12-17 12:27 ..
-rw-r--r--  1 www-data www-data     1422 2012-12-19 10:07 213.146.146.70-mysql_cacti_stats.txt
-rw-r--r--  1 root     root        12892 2012-12-17 11:34 a_b2747e50-e438-455f-8364-65ad580891ee.cdr.xml
-rw-r--r--  1 root     root     12652544 2012-12-19 10:07 fax_191212.pcap
-rw-r--r--  1 root     root            8 2012-12-19 10:07 FAX-fc034321-a3be-495e-ac42-655f16fceea2.tif
drwxrwxrwt  2 root     root         4096 2012-12-10 09:12 .ICE-unix
-rw-r--r--  1 root     root            2 2012-12-19 10:00 Last_IO_Errno.txt
-rw-r--r--  1 root     root            2 2012-12-19 10:00 Last_SQL_Errno.txt
-rw-r--r--  1 root     root            4 2012-12-19 10:00 Slave_IO_Running.txt
-rw-r--r--  1 root     root            4 2012-12-19 10:00 Slave_SQL_Running.txt
drwxrwxrwt  2 root     root         4096 2012-12-10 09:12 .X11-unix

In /tmp the next! has FAX-fc034321-a3be-495e-ac42-655f16fceea2.tif disappeared!? :-(

root at n01s01:/tmp# ls -la
total 12412
drwxrwxrwt  4 root     root         4096 2012-12-19 10:07 .
drwxr-xr-x 27 root     root         4096 2012-12-17 12:27 ..
-rw-r--r--  1 www-data www-data     1422 2012-12-19 10:07 213.146.146.70-mysql_cacti_stats.txt
-rw-r--r--  1 root     root        12892 2012-12-17 11:34 a_b2747e50-e438-455f-8364-65ad580891ee.cdr.xml
-rw-r--r--  1 root     root     12656640 2012-12-19 10:07 fax_191212.pcap
drwxrwxrwt  2 root     root         4096 2012-12-10 09:12 .ICE-unix
-rw-r--r--  1 root     root            2 2012-12-19 10:00 Last_IO_Errno.txt
-rw-r--r--  1 root     root            2 2012-12-19 10:00 Last_SQL_Errno.txt
-rw-r--r--  1 root     root            4 2012-12-19 10:00 Slave_IO_Running.txt
-rw-r--r--  1 root     root            4 2012-12-19 10:00 Slave_SQL_Running.txt
drwxrwxrwt  2 root     root         4096 2012-12-10 09:12 .X11-unix

pcap traces available on request - I see lots of t30 indicators in the traces & also data:v21? Not sure whether this is correct or not? I have tried enabling/disabling T38 to see if this makes any difference to no avail.

Any guidance gratefully received!

Festiveness....

 
Rgds, Mick
Tel/SMS. +44(0)7967 594432
Fax. +44(0)7053 452429

Email/IM. mickstevens at yahoo.com
Skype: mick_stevens
www.facebook.com/mickstevens
www.twitter.com/mickstevens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121219/f0a09007/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list