<div>You can use channel variable 'sip_sticky_contact'<pre><span style="font-family:Arial,sans-serif;">22.04.2016, 15:19, "Iskren Hadzhinedev" <iskren.hadzhinedev@ikiji.com>:</span></pre></div><blockquote type="cite">Hi,<br /> Try adding <param name="apply-nat-acl" value="nat.auto"/> to your external profile.<br /><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td><br /> Regards,<br /> Iskren<br /> </td></tr></tbody></table>-----Original Message-----<b>From</b>: Miha <<a href="mailto:Miha%20%3cmiha@softnet.si%3e">miha@softnet.si</a>><br /> Reply-to: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br /> <b>To</b>: FreeSWITCH Users Help <<a href="mailto:FreeSWITCH%20Users%20Help%20%3cfreeswitch-users@lists.freeswitch.org%3e">freeswitch-users@lists.freeswitch.org</a>><br /> <b>Subject</b>: Re: [Freeswitch-users] Nat issue<br /> <b>Date</b>: Fri, 22 Apr 2016 14:02:16 +0200<br /> <br /> Hi,<br /> <br /> could some help me with this.<br /> <br /> tnx<br /> miha<br /> <br /> On 21/04/2016 08:06, Miha wrote:<br /> <br /><blockquote type="CITE">Hi<br /> <br /> our FS is on public ip but the voip server to which trunk is made (SFB) is behind NAT.<br /> <br /> So the issue is that in SDP is private ip and FS sends RTP to this private ip, it does not change to src ip from which sip request was received.<br /> <br /> Remote SDP:<br /> <font size="2"><span>2016-04-21 08</span>:04:00.954752 [DEBUG] sofia.c:5614 Remote SDP:</font><br /> <font size="2">v=0</font><br /> <font size="2">o=- 46176 1 IN IP4 172.16.2.3</font><br /> <font size="2">s=session</font><br /> <font size="2">c=IN IP4 172.16.2.3</font><br /> <font size="2">b=CT:1000</font><br /> <font size="2">t=0 0</font><br /> <font size="2">m=audio 31200 RTP/AVP 8 101 13</font><br /> <font size="2">c=IN IP4 172.16.2.3</font><br /> <font size="2">a=rtpmap:8 PCMA/8000</font><br /> <font size="2">a=rtpmap:101 telephone-event/8000</font><br /> <font size="2">a=fmtp:101 0-16</font><br /> <font size="2">a=rtpmap:13 CN/8000</font><br /> <font size="2">a=rtcp:31201</font><br /> <font size="2">a=<a>label:Audio</a></font><br /> <br /> <br /> <font size="4">And then:</font><br /> <br /> <font size="4">šxxx.xxx.xxx.xxx (FS public ip) port 17094 -> 172.16.2.3 port 31200 codec: 8 ms: 30</font><br /> <br /> <br /> <font size="4">I tried with:</font><br /> <font size="4">ššš <param name="NDLB-force-rport" value="true"/></font><br /> <font size="4">ššš <param name="aggressive-nat-detection" value="true"/></font><br /> <br /> <br /> <font size="4">on internal profile and on trunk profile but the same.</font><br /> <br /> <br /> <font size="4">tnx for help!</font><br /> <font size="4">Miha</font><br /> <br /> <br /> <br /> <br /><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org/">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com/">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
</pre></blockquote><br /><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org/">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com/">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
</pre>,<p>_________________________________________________________________________<br />Professional FreeSWITCH Consulting Services: <br /><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /><a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br /><br />Official FreeSWITCH Sites<br /><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br /><a href="http://confluence.freeswitch.org/">http://confluence.freeswitch.org</a><br /><a href="http://www.cluecon.com/">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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br />UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a></p></blockquote>