Hi<div>I&#39;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&#39;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 &amp;txfax(&#39;path&#39;)</div><div>in php to send faxes. I&#39;ve set global t38_passthru to true and in spandsp.conf:</div>
<div><div>&lt;fax-settings&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;use-ecm&quot;<span class="Apple-tab-span" style="white-space:pre">                </span>value=&quot;true&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;verbose&quot;<span class="Apple-tab-span" style="white-space:pre">                </span>value=&quot;true&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;disable-v17 &quot;<span class="Apple-tab-span" style="white-space:pre">        </span>value=&quot;false&quot;/&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;ident&quot;<span class="Apple-tab-span" style="white-space:pre">                </span>value=&quot;test&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;header&quot;<span class="Apple-tab-span" style="white-space:pre">                </span>value=&quot;test&quot;/&gt;</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;spool-dir&quot;<span class="Apple-tab-span" style="white-space:pre">                </span>value=&quot;/tmp&quot;/&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;param name=&quot;file-prefix&quot;<span class="Apple-tab-span" style="white-space:pre">        </span>value=&quot;faxrx&quot;/&gt;</div>
<div>    &lt;/fax-settings&gt;</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>