[Asterisk-Users] IAX2 IP Address memory

Andres andres at telesip.net
Wed Jun 30 09:46:49 MST 2004


Ernest W. Lessenger wrote:

>Can anyone tell me how (and for how long) asterisk remembers the IP address
>for an IAX2 peer? Voicepulse has been going up and down for me, and it seems
>to have something to do with the IP address changing. Is there a way to
>force asterisk to run gethostbyname() again for the peer? Or do I just need
>to restart the daemon when this happens?
>  
>
That would certainly be a nice feature to have.  We have multiple SIP 
Proxies on our network and their IPs change every now and then for 
failover or maintenance reasons.  Asterisk keeps trying to contact the 
old IPs instead of doing a DNS lookup again.


-- 
Andres
Network Admin
http://www.telesip.net





More information about the asterisk-users mailing list