<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> </p>
<p>On Sun, 21 Feb 2010 16:36:42 +0100, Johann Steinwendtner <steinwendtner@gmx.net> wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">
<p>Magnus Benngård wrote:<br />> Gentlemen,<br />> <br />> I have 3 faxes attached to an Asterisk. Fax - SPA2102 - Asterisk.<br />> <br />> 0851711201 and 0851711290 is on our WAN, no NAT.<br />> 0197673581 is outside our WAN and needs to be NAT'ed.<br />> <br />> Sending a fax from 0851711201 to 0851711290, no problem, switches to T38 <br />> and fax goes through.<br />> Sending a from 0197673581 to 0851711201, no problem as long as i dont <br />> enable T38 on 0197673581.<br />> <br />> But, if i enable T38 on 0197673581, changing t38pt_udptl=no to <br />> t38pt_udptl=yes,fec and try to send from 0197673581 to 0851711201, it is <br />> not working, switches to T38 sendimg a lot of UDPTL packages but it <br />> looks like (at least for me) that addresses are "wrong".<br />> <br />> UDPTL (SIP/0197673581): packet from 90.230.92.67:33408 (type 0, seq 0, <br />> len 6)<br />> UDPTL (SIP/0851711201): packet from 10.242.20.149:16434 (type 0, seq 0, <br />> len 6)<br />> UDPTL (SIP/0197673581): packet from 90.230.92.67:33408 (type 0, seq 0, <br />> len 6)<br />> UDPTL (SIP/0851711201): packet from 10.242.20.149:16434 (type 0, seq 0, <br />> len 6)<br />> <br />> 90.230.92.67 is WAN ip of 0197673581's router.<br />> 10.242.20.149 is ip of 0851711201's ATA (SPA2102).<br />> <br />> Shouldn't the UDPTL stream go through Asterisk?<br />> Have i missed sometheng else?<br />> <br />> Asterisk SVN-trunk-r247652M built by root @ sip on a i686 running Linux <br />> on 2010-01-25 11:10:15 UTC<br />> <br />> [0197673581]<br />> secret=xyz<br />> callerid=Input Interior Orebro (fax) <0197673581><br />> disallow=all<br />> allow=alaw:40<br />> allowoverlap=yes<br />> allowsubscribe=yes<br />> callcounter=yes<br />> callingpres=allowed_passed_screen<br />> canreinvite=no<br />> context=inputinterior.se<br />> directmedia=no<br />> dtmfmode=rfc2833<br />> faxdetect=no<br />> host=dynamic<br />> language=se<br />> nat=yes<br />> qualify=yes<br />> sendrpid=pai<br />> t38pt_udptl=no<br />> transport=udp<br />> trustrpid=yes<br />> type=friend<br />> videosupport=no<br />> <br />> [0851711201]<br />> secret=xyz<br />> callerid=Input Interior Stockholm (fax) <0851711201><br />> disallow=all<br />> allow=alaw:40<br />> allowoverlap=yes<br />> allowsubscribe=yes<br />> callcounter=yes<br />> callingpres=allowed_passed_screen<br />> canreinvite=yes<br />> context=inputinterior.se<br />> directmedia=yes<br />> dtmfmode=rfc2833<br />> faxdetect=no<br />> host=dynamic<br />> language=se<br />> nat=no<br />> qualify=yes<br />> sendrpid=pai<br />> t38pt_udptl=yes,fec<br />> transport=udp<br />> trustrpid=yes<br />> type=friend<br />> videosupport=no<br />> <br />> [0851711290]<br />> secret=xyz<br />> callerid=Input Interior Sundbyberg (fax) <0851711290><br />> ...<br />> rest is the same as [0851711201]<br />> <br />> Regards,<br />> <br />> Magnus<br />> <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> </p>
</blockquote>
<p> </p></div>