[Asterisk-Users] IAX2 IP Address memory

Olle E. Johansson oej at edvina.net
Wed Jun 30 12:16:24 MST 2004


Andres wrote:

> 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.
> 
> 
Please file a bug report. I've noticed this befored, but that report
was closed. THis happened when iaxtel was moved as well.

/Olle



More information about the asterisk-users mailing list