<div dir="ltr">Hi,<div><br></div><div>I have a quick NAT related question.</div><div>Is there a way to disable NAT handling completely?</div><div><br></div><div>FreeSwitch always replies to the IP/Port were it received the message from and not to the host/port in Via....</div><div><br></div><div>recv 1166 bytes from udp/[172.17.0.1]:36835 at 10:20:56.652918:<br>------------------------------------------------------------------------<br>INVITE <a href="http://sip:ann-early@167.99.136.226:5080">sip:ann-early@167.99.136.226:5080</a> SIP/2.0<br>Record-Route: <sip:167.99.136.226:5070;lr><br>Via: SIP/2.0/UDP 167.99.136.226:5070;branch=z9hG4bKe305.92946d84.0<br>Via: SIP/2.0/UDP 192.168.178.52:37350;received=93.221.23.15;branch=z9hG4bK-524287-1---936bd2b8103acd0c;rport=37350<br></div><div>[...]</div><div><br></div><div>send 366 bytes to udp/[172.17.0.1]:5070 at 10:20:56.659313:<br>------------------------------------------------------------------------<br>SIP/2.0 100 Trying<br>Via: SIP/2.0/UDP 167.99.136.226:5070;branch=z9hG4bKe305.92946d84.0;received=172.17.0.1<br>From: <sip:b2bua@167.99.136.226:5070;transport=UDP>;tag=7793d52b<br>To: <<a href="http://sip:3@167.99.136.226:5070">sip:3@167.99.136.226:5070</a>><br>Call-ID: akjc99KAbZfHxXHSea_iTQ..<br>CSeq: 1 INVITE<br>User-Agent: FreeSWITCH-mod_sofia/1.10.5-release+git-20201002T121516Z~a1bfb14c04~64bit<br>Content-Length: 0</div><div><br></div><div>Is there a way, to make FreeSwitch simply reply to the Host/Port in the Via-Header?</div><div><br></div><div>My Profile is rather simple and I tried it with setting the local network ACS and NDLB-force-rport:</div><div><br></div><div>    <profile name="local"><br>     <settings><br>                    <param name="local-network-acl" value="none"/><br>        <param name="NDLB-force-rport" value="disabled"/>    <br>                 <param name="context" value="local"/><br>        <param name="sip-ip" value="$${local_address}"/><br>        <param name="ext-sip-ip" value="autonat:167.99.136.226"/><br>        <param name="sip-port" value="5080"/><br>        <param name="rtp-ip" value="$${local_address}"/><br>        <param name="ext-rtp-ip" value="autonat:167.99.136.226"/><br>        <param name="auth-calls" value="false"/><br>      </settings><br>    </profile><br></div><div><br></div><div>Changing "NDLB-force-rport" to false did not have any impact.</div><div><br></div><div>Thanks,</div><div>Carsten</div><div><br></div><div><br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr">--</div><div dir="ltr">Carsten Bock I CTO & Founder</div><div dir="ltr"><br><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-position:initial;background-repeat:initial"><span lang="EN-US" style="color:black">ng-voice GmbH</span><span lang="EN-US" style="color:rgb(0,112,192)"><u></u><u></u></span></p><p style="margin-right:0cm;margin-bottom:12pt;margin-left:0cm;background-image:initial;background-position:initial;background-repeat:initial"><span lang="EN-US" style="color:black">Trostbrücke 1 I 20457 Hamburg I Germany<br>T +49 40 524 75 93-40 | M +49 179 2021244 I <a href="http://www.ng-voice.com/" style="color:rgb(17,85,204)" target="_blank"><span style="color:black">www.ng-voice.com</span></a><u></u><u></u></span></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-position:initial;background-repeat:initial"><span lang="EN-US" style="color:black">Registry Office at Local Court Hamburg, HRB 120189<br>Managing Directors: Dr. David Bachmann, Carsten Bock</span></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-position:initial;background-repeat:initial"><span lang="EN-US" style="color:black"><br></span></p><p style="margin:0cm 0cm 0.0001pt;background-image:initial;background-position:initial;background-repeat:initial"><span lang="EN-US" style="color:black"><br></span></p></div></div></div></div></div></div></div></div></div>