<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Hi,<BR>
Try adding &lt;param name=&quot;apply-nat-acl&quot; value=&quot;nat.auto&quot;/&gt; to your external profile.<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
Regards,<BR>
Iskren<BR>
<BR>
</TD>
</TR>
</TABLE>
-----Original Message-----<B>From</B>: Miha &lt;<A HREF="mailto:Miha%20%3cmiha@softnet.si%3e">miha@softnet.si</A>&gt;<BR>
Reply-to: FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>To</B>: FreeSWITCH Users Help &lt;<A HREF="mailto:FreeSWITCH%20Users%20Help%20%3cfreeswitch-users@lists.freeswitch.org%3e">freeswitch-users@lists.freeswitch.org</A>&gt;<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">2016-04-21 08: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 HREF="label:Audio">label:Audio</A></FONT><BR>
    <BR>
    <BR>
    <FONT SIZE="4">And then:</FONT><BR>
    <BR>
    <FONT SIZE="4">&nbsp;xxx.xxx.xxx.xxx (FS public ip) port 17094 -&gt; 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">&nbsp;&nbsp;&nbsp; &lt;param name=&quot;NDLB-force-rport&quot; value=&quot;true&quot;/&gt;</FONT><BR>
    <FONT SIZE="4">&nbsp;&nbsp;&nbsp; &lt;param name=&quot;aggressive-nat-detection&quot; value=&quot;true&quot;/&gt;</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>
</BODY>
</HTML>