Stale DNS records will be an issue here, if your dynamic IP changes with each new lease. Then you have devices trying to connect on the old address, not having yet updated, or missing the most recent record refresh. This will cause random call drops. Another thing to consider, is this a free DNS service? If so, I wouldn't count on infinite resources being available to server lookup requests.... On 30/12/2015 5:24 PM, Sergey Safarov wrote:
Capture dns traffic and analyze. Probable some resolv is wrong or fail.
On Wed, Dec 30, 2015, 10:13 Rajil Saraswat <rajil.s@gmail.com <mailto:rajil.s@gmail.com>> wrote:
Hello,
My pbx has a dynamic ip address and i am using the name myhost.dyndns.org <http://myhost.dyndns.org> for it. Until now i have had the following settings:
vars.xml <X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:myhost.dyndns.org <http://myhost.dyndns.org>"/> <X-PRE-PROCESS cmd="set" data="external_sip_ip=host:myhost.dyndns.org <http://myhost.dyndns.org>"/>
Internal profile <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> <param name="ext-sip-ip" value="$${external_sip_ip}"/>
However, with this I was getting a public ip in the contact header of the calls. So i had to change the internal profile to <param name="ext-rtp-ip" value="autonat:$${external_rtp_ip}"/> <param name="ext-sip-ip" value="autonat:$${external_sip_ip}"/>
Unfortunately with the above change the system is unable to resolve the dns address and sofia status profile internal' shows
Ext-SIP-IP host:myhost.dyndns.org <http://myhost.dyndns.org>
The calls fail randomly because of this. How can i use autonat with the dynamic ip address?
Thanks Rajil
PS: If i use the dynamic ip address in the the conf file, there is no problem. (<X-PRE-PROCESS cmd="set" data="external_sip_ip=aa.bb <http://aa.bb>.cc.dd"/>)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org