<div style="font-family:Arial;font-size:14px"><p>Yes, when I added "t38pt_usertpsource=yes" to the NAT'ed fax everything works!</p>
<p>Big thanks Johann!</p>
<p>On Sun, 21 Feb 2010 17:22:40 +0100, Magnus Benng&aring;rd &lt;magnus.b@inputinterior.se&gt; wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">
<div style="font-family:Arial;font-size:14px">
<p>t38pt_usertpsource=yes seems to do the trick, switches to T38 and fax "seems" to go through (cant be 100% sure, the fax i am sending to is 500 km avay from me, but i dont get any errors and my fax thinks everything is ok, so I cross my fingers),,,</p>
<p>&nbsp;</p>
<p>On Sun, 21 Feb 2010 16:36:42 +0100, Johann Steinwendtner  wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">
<p>Magnus Benng&aring;rd wrote:<br />&gt; Gentlemen,<br />&gt; <br />&gt; I have 3 faxes attached to an Asterisk. Fax - SPA2102 - Asterisk.<br />&gt; <br />&gt; 0851711201 and 0851711290 is on our WAN, no NAT.<br />&gt; 0197673581 is outside our WAN and needs to be NAT'ed.<br />&gt; <br />&gt; Sending a fax from 0851711201 to 0851711290, no problem, switches to T38 <br />&gt; and fax goes through.<br />&gt; Sending a from 0197673581 to 0851711201, no problem as long as i dont <br />&gt; enable T38 on 0197673581.<br />&gt; <br />&gt; But, if i enable T38 on 0197673581, changing t38pt_udptl=no to <br />&gt; t38pt_udptl=yes,fec and try to send from 0197673581 to 0851711201, it is <br />&gt; not working, switches to T38 sendimg a lot of UDPTL packages but it <br />&gt; looks like (at least for me) that addresses are "wrong".<br />&gt; <br />&gt;  UDPTL (SIP/0197673581): packet from 90.230.92.67:33408 (type 0, seq 0, <br />&gt; len 6)<br />&gt;  UDPTL (SIP/0851711201): packet from 10.242.20.149:16434 (type 0, seq 0, <br />&gt; len 6)<br />&gt;  UDPTL (SIP/0197673581): packet from 90.230.92.67:33408 (type 0, seq 0, <br />&gt; len 6)<br />&gt;  UDPTL (SIP/0851711201): packet from 10.242.20.149:16434 (type 0, seq 0, <br />&gt; len 6)<br />&gt; <br />&gt; 90.230.92.67 is WAN ip of 0197673581's router.<br />&gt; 10.242.20.149 is ip of 0851711201's ATA (SPA2102).<br />&gt; <br />&gt; Shouldn't the UDPTL stream go through Asterisk?<br />&gt; Have i missed sometheng else?<br />&gt; <br />&gt; Asterisk SVN-trunk-r247652M built by root @ sip on a i686 running Linux <br />&gt; on 2010-01-25 11:10:15 UTC<br />&gt; <br />&gt; [0197673581]<br />&gt; secret=xyz<br />&gt; callerid=Input Interior Orebro (fax) &lt;0197673581&gt;<br />&gt; disallow=all<br />&gt; allow=alaw:40<br />&gt; allowoverlap=yes<br />&gt; allowsubscribe=yes<br />&gt; callcounter=yes<br />&gt; callingpres=allowed_passed_screen<br />&gt; canreinvite=no<br />&gt; context=inputinterior.se<br />&gt; directmedia=no<br />&gt; dtmfmode=rfc2833<br />&gt; faxdetect=no<br />&gt; host=dynamic<br />&gt; language=se<br />&gt; nat=yes<br />&gt; qualify=yes<br />&gt; sendrpid=pai<br />&gt; t38pt_udptl=no<br />&gt; transport=udp<br />&gt; trustrpid=yes<br />&gt; type=friend<br />&gt; videosupport=no<br />&gt; <br />&gt; [0851711201]<br />&gt; secret=xyz<br />&gt; callerid=Input Interior Stockholm (fax) &lt;0851711201&gt;<br />&gt; disallow=all<br />&gt; allow=alaw:40<br />&gt; allowoverlap=yes<br />&gt; allowsubscribe=yes<br />&gt; callcounter=yes<br />&gt; callingpres=allowed_passed_screen<br />&gt; canreinvite=yes<br />&gt; context=inputinterior.se<br />&gt; directmedia=yes<br />&gt; dtmfmode=rfc2833<br />&gt; faxdetect=no<br />&gt; host=dynamic<br />&gt; language=se<br />&gt; nat=no<br />&gt; qualify=yes<br />&gt; sendrpid=pai<br />&gt; t38pt_udptl=yes,fec<br />&gt; transport=udp<br />&gt; trustrpid=yes<br />&gt; type=friend<br />&gt; videosupport=no<br />&gt; <br />&gt; [0851711290]<br />&gt; secret=xyz<br />&gt; callerid=Input Interior Sundbyberg (fax) &lt;0851711290&gt;<br />&gt; ...<br />&gt; rest is the same as [0851711201]<br />&gt; <br />&gt; Regards,<br />&gt; <br />&gt; Magnus<br />&gt; <br /><br />Maybe you should give t38pt_usertpsource=yes a try.<br /><br />Regards<br /><br />Hans<br /><br />-- <br />_____________________________________________________________________<br />-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br /><br />asterisk-users mailing list<br />To UNSUBSCRIBE or update options visit:<br /> http://lists.digium.com/mailman/listinfo/asterisk-users</p>
<p>&nbsp;</p>
</blockquote>
<p>&nbsp;</p>
</div>
</blockquote>
<p>&nbsp;</p></div>