[asterisk-bugs] [Asterisk 0017797]: [patch] SIP autocreate peers disappear on "sip reload"

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 6 14:05:54 CDT 2010


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17797 
====================================================================== 
Reported By:                kkm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17797
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-2009 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 280980 
Request Review:              
====================================================================== 
Date Submitted:             2010-08-04 20:50 CDT
Last Modified:              2010-08-06 14:05 CDT
====================================================================== 
Summary:                    [patch] SIP autocreate peers disappear on "sip
reload"
Description: 
Upon reloading chan_sip configuration, all autocreated peers disappear.
That's a big hassle if one runs an Asterisk server with 100s of autopeers
(AI guys in our case) with some statically configured trunks that need a
configuration change from time to time.

Quoting lmadsen on the dev list: “I'm not sure if this is a bug or a
feature :)  Sounds like we might need an autocreatepeercache=[yes|no]
option, in which case this would be a feature request.”

The attached patch adds the third choice to the sip.conf global
autocreatepeers= setting, "durable", to keep autopeers across config
reload. The behavior of "yes" and "no" did not change.

Attaching patch against the latest 1.8 trunk and another for those running
1.6, against 1.6.2.9 (we use the latter in production).
====================================================================== 

---------------------------------------------------------------------- 
 (0125658) lmadsen (administrator) - 2010-08-06 14:05
 https://issues.asterisk.org/view.php?id=17797#c125658 
---------------------------------------------------------------------- 
Updated to Ready for Testing. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-06 14:05 lmadsen        Note Added: 0125658                          
2010-08-06 14:05 lmadsen        Status                   confirmed => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list