<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Hi,</div><div><br class=""></div><div>The ext-xxx-ip is only needed if your external IP is private and nated to a public one defined on your router. This setting tells freeswitch to put directly the public IP in the contact and the SDP.</div><div><br class=""></div><div>If it's not already the case, you should use a different internal profile (attached to your internal IP) to discuss with your IS. In this profile, you don't need to define any NAT setting.</div><div><br class=""></div><div><div class="">Best Regards,<br class="">-- <br class="">Vallimamod Abdullah<br class="">SIP Solutions<br class=""><a href="mailto:vma@sip.solutions" class="">vma@sip.solutions</a><br class=""><a href="http://linkedin.com/in/vallimamod" class="">linkedin.com/in/vallimamod</a><br class=""></div><div class=""><div class=""><div dir="auto" class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">.</div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br class=""></div></div></div></div></div></div></div></div></div><div><br class=""></div><div><blockquote type="cite" class=""><div class="">On 25 May 2018, at 14:46, M Yudkowsky <<a href="mailto:speech@pobox.com" class="">speech@pobox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">Thanks for your response, quite helpful.<br class=""><br class=""><blockquote type="cite" class="">On May 25, 2018, at 03:56 , Vallimamod Abdullah <<a href="mailto:vma@vallimamod.org" class="">vma@vallimamod.org</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class=""><param name="inbound-proxy-media" value="true"/><br class=""><param name="local-network-acl" value="localnet.auto"/><br class=""><param name="ext-rtp-ip" value="$${external_rtp_ip}"/><br class=""><param name="ext-sip-ip" value="$${external_sip_ip}"/><br class=""></blockquote><br class="">These are not channel variables but profile params. So they have to be set on the profile configuration file under sip_profiles.<br class=""></blockquote><br class="">I expect I was not clear: the params are set in sip_profiles/(profile name).xml, where "profile name" is a valid profile name.<br class=""><br class=""><br class=""><blockquote type="cite" class="">And for your case, if all your traffic is internal on this profile, remove the last 2 params (ext-sip-ip and est-rtp-ip) as freeswitch use them to set the public ip on the contact and SDP if your server is nated.<br class=""></blockquote><br class="">Going back to my original diagram, let me add the external leg explicitly:<br class=""><br class="">IS (internal IP)  == INVITE ==> FS (internal IP)<br class="">IS (internal IP)  <== 100 == FS (internal IP)<br class="">IS (internal IP)  <== 183 == FS (internal IP)<br class=""><br class="">  FS starts a call to the external provider:<br class=""><br class="">                                 FS (external IP) == INVITE ==> SIP PROVIDER<br class="">                                 FS (external IP) <== 200 OK == SIP PROVIDER<br class="">                                 FS (external IP) == ACK ==> SIP PROVIDER<br class=""><br class="">  FS continues the internal call:<br class=""><br class="">IS (internal IP)  <== 200 OK == FS (internal IP)<br class=""><br class="">  But the 200 OK from FS contains, in the Contact field, the *external* IP address:<br class="">  Contact: <<a href="sip:xxxxx@" class="">sip:xxxxx@</a>(external IP):5060;transport=udp><br class="">  As a result, the IS sends a response to the *external* IP address:<br class=""><br class="">IS (external IP)  == ACK ==> FS (external IP)<br class=""><br class="">  FS resends several 200's, which IS properly ignores.<br class="">  Eventually FS gives up on hearing from IS and sends a <br class="">  BYE with a Reason of 408 ACK Timeout.<br class=""><br class=""><br class="">Just to check, then: is the   and ext-sip-ip somehow too aggressive, and I should rely on NAT and localnet.auto and other automatic discovery mechanisms instead? Or is this configuration correct, and I have a different problem?<br class=""><br class=""><br class=""><br class="">-- <br class="">  Moshe Yudkowsky<br class="">  Disaggregate Corporation<br class="">  2952 W Fargo<br class="">  Chicago, IL 60645 USA<br class=""><br class="">  +1 773 764 8727<br class="">   <a href="mailto:speech@pobox.com" class="">speech@pobox.com</a><br class=""><br class="">   <a href="http://www.Disaggregate.com" class="">http://www.Disaggregate.com</a><br class="">   <a href="http://www.PebbleAndAvalanche.com" class="">http://www.PebbleAndAvalanche.com</a><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div></blockquote></div><br class=""></body></html>