[asterisk-users] DDNS and host: updating when destination IP changes

bilal ghayyad bilmar_gh at yahoo.com
Tue Feb 26 08:55:16 CST 2008


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



More information about the asterisk-users mailing list