<p dir="ltr">Capture dns traffic and analyze. <br>
Probable some resolv is wrong or fail.</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 30, 2015, 10:13 Rajil Saraswat <<a href="mailto:rajil.s@gmail.com">rajil.s@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
My pbx has a dynamic ip address and i am using the name<br>
<a href="http://myhost.dyndns.org" rel="noreferrer" target="_blank">myhost.dyndns.org</a> for it. Until now i have had the following settings:<br>
<br>
vars.xml<br>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:<a href="http://myhost.dyndns.org" rel="noreferrer" target="_blank">myhost.dyndns.org</a>"/><br>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=host:<a href="http://myhost.dyndns.org" rel="noreferrer" target="_blank">myhost.dyndns.org</a>"/><br>
<br>
Internal profile<br>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/><br>
<param name="ext-sip-ip" value="$${external_sip_ip}"/><br>
<br>
However, with this I was getting a public ip in the contact header of<br>
the calls. So i had to change the internal profile to<br>
<param name="ext-rtp-ip" value="autonat:$${external_rtp_ip}"/><br>
<param name="ext-sip-ip" value="autonat:$${external_sip_ip}"/><br>
<br>
Unfortunately with the above change the system is unable to resolve<br>
the dns address and sofia status profile internal' shows<br>
<br>
Ext-SIP-IP host:<a href="http://myhost.dyndns.org" rel="noreferrer" target="_blank">myhost.dyndns.org</a><br>
<br>
The calls fail randomly because of this. How can i use autonat with<br>
the dynamic ip address?<br>
<br>
Thanks<br>
Rajil<br>
<br>
PS: If i use the dynamic ip address in the the conf file, there is no<br>
problem. (<X-PRE-PROCESS cmd="set"<br>
data="external_sip_ip=<a href="http://aa.bb" target="_blank">aa.bb</a>.cc.dd"/>)<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.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="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>