bilal ghayyad
2008-Feb-25 12:20 UTC
[asterisk-users] DDNS and host: updating when destination IP changes
Hi All; I am using IAX Trunk and I used ddns (dyndns.org) with the host (host=xyz.dyndns.org), when I restart the router who has the hostname xyz.dyndns.org then its IP address change and updated, but at asterisk level still it keeps sending for the old IP address and sometimes this problem does not resolve until I restart asterisk. Any one faced this and has idea how to resolve it so Asterisk can check the new IP address for the host=xyz.dyndns.org each call? Any help? Regards Bilal ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Louwrens Benadé
2008-Feb-25 13:35 UTC
[asterisk-users] DDNS and host: updating when destination IP changes
Just as a silly one, try 'asterisk -rx "iax2 reload"'. I'm not sure if it'll work or not, but it should force a recheck of the hostname. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad Sent: 25 February 2008 02:21 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] DDNS and host: updating when destination IP changes Hi All; I am using IAX Trunk and I used ddns (dyndns.org) with the host (host=xyz.dyndns.org), when I restart the router who has the hostname xyz.dyndns.org then its IP address change and updated, but at asterisk level still it keeps sending for the old IP address and sometimes this problem does not resolve until I restart asterisk. Any one faced this and has idea how to resolve it so Asterisk can check the new IP address for the host=xyz.dyndns.org each call? Any help? Regards Bilal ____________________________________________________________________________ ________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
bilal ghayyad
2008-Feb-26 14:55 UTC
[asterisk-users] DDNS and host: updating when destination IP changes
OK that worked, but how can we resolve it without need to type the command manually, as the destination might change its IP address without our notice, so the question is: How can the host be updated periodically (like externrefresh settings), but need it for host, any help? Regards Bilal ------------ Just as a silly one, try 'asterisk -rx "iax2 reload"'. I'm not sure if it'll work or not, but it should force a recheck of the hostname. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad Sent: 25 February 2008 02:21 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] DDNS and host: updating when destination IP changes Hi All; I am using IAX Trunk and I used ddns (dyndns.org) with the host (host=xyz.dyndns.org), when I restart the router who has the hostname xyz.dyndns.org then its IP address change and updated, but at asterisk level still it keeps sending for the old IP address and sometimes this problem does not resolve until I restart asterisk. Any one faced this and has idea how to resolve it so Asterisk can check the new IP address for the host=xyz.dyndns.org each call? Any help? Regards Bilal ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Chris Mason (Lists)
2008-Feb-26 15:41 UTC
[asterisk-users] DDNS and host: updating when destination IP changes
bilal ghayyad wrote:> OK that worked, but how can we resolve it without need > to type the command manually, as the destination might > change its IP address without our notice, so the > question is: > > How can the host be updated periodically (like > externrefresh settings), but need it for host, any > help? >If you set up that host as a dynamic peer, it should work automatically. Also, use the dns name rather than the IP Enable dns in dnsmgr.conf These should do it. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.