duplicate fax pages
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
On Sun, Nov 4, 2012 at 10:59 AM, Babak Yakhchali <babak.freeswitch@gmail.com> wrote:
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).
Any updates on this? Gabe
Hi Babak, In the log you posed FS is working properly, but you appear to have communication problems. FS sent the first page at V.29 9600bps, and the far end replied RTN, which means the page was received badly. FS renegotiated to V.29 7200 and sent the page again. This also returned in RTN. FS tried again at V.27ter 4800, but before the page was finished the far end disconnected. Steve On 11/05/2012 01:59 AM, Babak Yakhchali wrote:
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Babak Yakhchali
-
Gabriel Gunderson
-
Steve Underwood