<div dir="auto">-nonat ?</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 16 Feb 2021 at 10:00, Carsten Bock <<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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" target="_blank">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" 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"><a href="https://www.google.com/maps/search/Trostbr%C3%BCcke+1?entry=gmail&source=g">Trostbrücke 1</a> 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>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>