[asterisk-bugs] [Asterisk 0017797]: [patch] SIP autocreate peers disappear on "sip reload"
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Aug 5 23:25:15 CDT 2010
A NOTE has been added to this issue.
======================================================================
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: confirmed
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-05 23:25 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).
======================================================================
----------------------------------------------------------------------
(0125626) kkm (reporter) - 2010-08-05 23:25
https://issues.asterisk.org/view.php?id=17797#c125626
----------------------------------------------------------------------
Done: changed option name; documentation added to 1.8 patch only. Please
remove the 2 old patches uploaded on 2010-08-04 - thanks!
Issue History
Date Modified Username Field Change
======================================================================
2010-08-05 23:25 kkm Note Added: 0125626
======================================================================
More information about the asterisk-bugs
mailing list