Hi<div>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).<br>
<div>I'm using this command:</div><div>originate {fax_ident=$faxidnt,fax_header=$faxhdr,origination_caller_id_number=$callerid,tx_owner_id=$userid}sofia/gateway/fax_outbound/999 &txfax('path')</div><div>in php to send faxes. I've set global t38_passthru to true and in spandsp.conf:</div>
<div><div><fax-settings></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="use-ecm"<span class="Apple-tab-span" style="white-space:pre">                </span>value="true"/></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="verbose"<span class="Apple-tab-span" style="white-space:pre">                </span>value="true"/></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="disable-v17 "<span class="Apple-tab-span" style="white-space:pre">        </span>value="false"/></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="ident"<span class="Apple-tab-span" style="white-space:pre">                </span>value="test"/></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="header"<span class="Apple-tab-span" style="white-space:pre">                </span>value="test"/></div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="spool-dir"<span class="Apple-tab-span" style="white-space:pre">                </span>value="/tmp"/></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><param name="file-prefix"<span class="Apple-tab-span" style="white-space:pre">        </span>value="faxrx"/></div>
<div> </fax-settings></div></div><div>and the logs for spandsp verbose mode:</div><div><a href="http://pastebin.freeswitch.org/20169">http://pastebin.freeswitch.org/20169</a>
</div></div><div>and the version:</div><div>FreeSWITCH Version 1.3.0+git~20120908T211235Z~36cee285b0 (1.3.0; git at commit 36cee285b0 on Sat, 08 Sep 2012 21:12:35 Z)</div><div>thanx</div>