<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 &lt;<a href="mailto:rajil.s@gmail.com">rajil.s@gmail.com</a>&gt; 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>
&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_rtp_ip=host:<a href="http://myhost.dyndns.org" rel="noreferrer" target="_blank">myhost.dyndns.org</a>&quot;/&gt;<br>
&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_sip_ip=host:<a href="http://myhost.dyndns.org" rel="noreferrer" target="_blank">myhost.dyndns.org</a>&quot;/&gt;<br>
<br>
Internal profile<br>
  &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;<br>
  &lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip}&quot;/&gt;<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>
  &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;autonat:$${external_rtp_ip}&quot;/&gt;<br>
  &lt;param name=&quot;ext-sip-ip&quot; value=&quot;autonat:$${external_sip_ip}&quot;/&gt;<br>
<br>
Unfortunately with the above change the system is unable to resolve<br>
the dns address and sofia status profile internal&#39; 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. (&lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
data=&quot;external_sip_ip=<a href="http://aa.bb" target="_blank">aa.bb</a>.cc.dd&quot;/&gt;)<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>