[asterisk-bugs] [Asterisk 0018054]: SIP Channel config will not reload if Name is only different by CaSe

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 28 11:08:45 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18054 
====================================================================== 
Reported By:                craigarno
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18054
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.0-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-26 01:08 CDT
Last Modified:              2010-09-28 11:08 CDT
====================================================================== 
Summary:                    SIP Channel config will not reload if Name is only
different by CaSe
Description: 
I named one SIP channel [office1], then performed a CLI> reload sip.  A
CLI> sip show peer office1 showed the sip.conf description loaded and my
Sipura 2100 registered...

Then I decided I liked uppercase better, so I renamed the sip.conf entry
to [OFFICE1], then performed a reload sip.  A CLI> sip show peer OFFICE1
said OFFICE1 couldn't be found.  An attempt to register a Sipura 2100 using
OFFICE1 also failed.

After shutting down Asterisk CLI> core stop now
then restarting asterisk, the Sipura 2100 was able to register using
OFFICE1.

It appears that a case -insensitive- compare was performed on "office1" to
"OFFICE1" and the result was the new sip.conf entry was not loaded. 
Shutting down Asterisk made Asterisk forget the old "office1" entry and
after sip.conf was fully loaded, the new configuration worked with OFFICE1.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-28 11:08 lmadsen        Description Updated                          
2010-09-28 11:08 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list