always disable ECM for fax calls over IP... its the 1st rule of thumb for VoIP faxing :=)<br><br><div class="gmail_quote">On Fri, Nov 11, 2011 at 2:48 PM, Alex Crow <span dir="ltr">&lt;<a href="mailto:acrow@integrafin.co.uk">acrow@integrafin.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On 11/11/11 12:52, Alex Crow wrote:<br>
&gt; If anyone&#39;s interested, I&#39;ve get outbound fax semi-working with this setup:<br>
&gt;<br>
&gt; &lt;extension name=&quot;faxoutviamitel&quot; continue=&quot;true&quot;&gt;<br>
&gt; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9(\d{4})$&quot;&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;absolute_codec_string=PCMA&quot;/&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;fax_enable_t38=true&quot;/&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;sip_execute_on_image=t38_gateway self<br>
&gt; nocng&quot;/&gt;<br>
&gt; &lt;action application=&quot;bridge&quot; data=&quot;sofia/external/$<a href="mailto:1@10.10.0.2">1@10.10.0.2</a>&quot;/&gt;<br>
&gt; &lt;/condition&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt;<br>
&gt; t38modem is started like this:<br>
&gt;<br>
&gt; t38modem -ttt -o /var/log/t38modem.log --no-h323 -u t38modem<br>
&gt; --sip-register <a href="mailto:t38modem@192.168.20.245">t38modem@192.168.20.245</a>,secret --sip-listen udp\$*:6060<br>
&gt; --ptty +/dev/ttyT38-1 --route<br>
&gt; &quot;modem:.*=sip:&lt;dn&gt;@<a href="http://192.168.20.245" target="_blank">192.168.20.245</a>;OPAL-Force-Fax-Mode=true&quot; --route<br>
&gt; &quot;sip:.*=modem:&lt;dn&gt;&quot;<br>
&gt;<br>
&gt;<br>
&gt; The remaining problem is that on the receiving end we only have the top<br>
&gt; centimetre or two of the image. I think this may be a tiff library issue<br>
&gt; but I&#39;m not sure.<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Alex<br>
&gt;<br>
<br>
In the end I had to disable ECM in the Hylafax modem definition for<br>
t38modem, this was what was causing the image truncation. Odd, because<br>
both t38modem and spandsp ostensibly support ECM. I&#39;m wondering if I was<br>
sending audio out directly over TDM rather than via a SIP gateway using<br>
G.711 then ECM would be OK... probably a timing issue.<br>
<br>
Cheers<br>
Alex<br>
<br>
--<br>
This message is intended only for the addressee and may contain<br>
confidential information.  Unless you are that person, you may not<br>
disclose its contents or use it in any way and are requested to delete<br>
the message along with any attachments and notify us immediately.<br>
<br>
&quot;Transact&quot; is operated by Integrated Financial Arrangements plc<br>
Domain House, 5-7 Singer Street, London  EC2A 4BQ<br>
Tel: (020) 7608 4900 Fax: (020) 7608 5300<br>
(Registered office: as above; Registered in England and Wales under number: 3727592)<br>
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>