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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 4 20:52:06 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     new
Asterisk Version:           SVN 
JIRA:                        
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-04 20:52 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).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-04 20:52 kkm            Summary                  SIP autocreate peers
disappear on "sip reload" => [patch] SIP autocreate peers disappear on "sip
reload"
======================================================================




More information about the asterisk-bugs mailing list