[Freeswitch-users] duplicate fax pages

Babak Yakhchali babak.freeswitch at gmail.com
Sun Nov 4 20:59:59 MSK 2012


Hi
I'm using mod_spandsp to send fax to different targets. when destination is
another freeswitch or elastix everything works fine. but when sending faxes
to old fax machines if tiff file contains only 1 page, sending will
succeed. but if tiff contains more than 1 page FS keeps sending first page
multiple times till I issue hupall and it stops sending(I should mention
that sometimes it sends first page 3 times second page 3 times and keeps
eating  remote fax machine paper roll).
I'm using this command:
originate {fax_ident=$faxidnt,fax_header=$faxhdr,origination_caller_id_number=$callerid,tx_owner_id=$userid}sofia/gateway/fax_outbound/999
&txfax('path')
in php to send faxes. I've set global t38_passthru to true and in
spandsp.conf:
<fax-settings>
<param name="use-ecm" value="true"/>
<param name="verbose" value="true"/>
<param name="disable-v17 " value="false"/>
<param name="ident" value="test"/>
<param name="header" value="test"/>

<param name="spool-dir" value="/tmp"/>
<param name="file-prefix" value="faxrx"/>
    </fax-settings>
and the logs for spandsp verbose mode:
http://pastebin.freeswitch.org/20169
and the version:
FreeSWITCH Version 1.3.0+git~20120908T211235Z~36cee285b0 (1.3.0; git at
commit 36cee285b0 on Sat, 08 Sep 2012 21:12:35 Z)
thanx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121104/4bb74820/attachment.html 


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