[Home]

Summary:ASTERISK-18669: SIP Peer Name case not updating on sip reload
Reporter:Justin Korkiner (jkorkiner)Labels:
Date Opened:2011-10-04 12:37:55Date Closed:2011-11-07 16:36:12.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:1.8.7.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Linux 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:13:52 EDT 2011 x86_64 x86_64 x86_64 GNU/LinuxAttachments:( 0) ASTERISK-18669.diff
Description:Create a sip user TESt. Save sip.conf. Connect to the CLI and sip reload. Run a sip show peers, and it shows the name/username as TESt. Close the CLI. Edit that user in sip.conf to now say TEST. Save sip.conf. Open the CLI, run sip reload. Do another sip show peers, and the name/username remains as TESt.

Restarting the Asterisk service corrects this. As does removing that user, or the character (TES), reloading, then going back to TEST.

This can create issues for those who use non numeric usernames (such as MAC addresses). It's a relative minor bug, but still a bug IMO.

Thanks :)
Comments:By: Matthew Nicholson (mnicholson) 2011-11-07 15:08:40.283-0600

Please test with the attached patch (against 1.8).

By: Matthew Nicholson (mnicholson) 2011-11-07 15:46:28.998-0600

Fixed in 1.8 r343690, 10 r343691, and trunk r343692.