[Home]

Summary:ASTERISK-09238: host parameter for sip peers isn't updated back to "dynamic" when using an IP address for it
Reporter:Caio Begotti (caio1982)Labels:
Date Opened:2007-04-10 14:35:39Date Closed:2007-07-09 21:20:48
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When performing a "sip show peer XXX" in Asterisk's CLI I notice the ToHost line is empty because I'm its value is "dynamic". Okay, then I configure this peer with host=my_ip_address and ask in the CLI about it one more time. The line ToHost is changed fine after a reload.

However, if I set back the host parameter to "dynamic", after testing it with an IP address as above, it's not updated anyway. It keeps the IP address and only after a complete restart of the Asterisk process it gets blanked as normally would.

Is it some kind of bug in a network cache or something else that I didn't understand right?

****** ADDITIONAL INFORMATION ******

I'm using everything under the Realtime Static schema (with ODBC + PostgreSQL).
Comments:By: Russell Bryant (russell) 2007-04-11 09:55:10

Very nice catch!  You are correct that it is a bug.  I should have a fix here in a few minutes ...

By: Russell Bryant (russell) 2007-04-11 10:13:49

This should be resolved in 1.2, 1.4, and trunk in revisions 61426, 61427, and 61428.  Thanks!