summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-11-01 15:03:04 +0000
committerJonathan Rose <jrose@digium.com>2012-11-01 15:03:04 +0000
commitd4a357b82ffd55395813e88ff9d00e572ded389b (patch)
treed69124814ad421d06ff2d8f556ca5bf1fc260883 /configs
parent6de0b18b3b460ffe2d893c864c581b94a837d2e4 (diff)
chan_sip: Fix a bug causing SIP reloads to remove all entries from the registry
A regression was introduced in chan_sip by changes to sip reload introduced by r349097. That patch moved peer purging from the beginning of the reload to after the general configuration was finished. This patch fixes that by undoing the repositioning of the original peer purging code and using a similar function after performing general configuration that purges only autocreated peers that were created when persist mode isn't enabled. (closes issue ASTERISK-20611) Reported by: Alisher Review: https://reviewboard.asterisk.org/r/2171/ ........ Merged revisions 375575 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample16
1 files changed, 8 insertions, 8 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index ba481c048..3d6db9798 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -510,14 +510,14 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;
;refer_addheaders=yes ; on by default
-;autocreatepeers=no ; Allow any not exsplicitly defined here UAC to register
- ; WITHOUT AUTHENTICATION. Enabling this options poses a high
- ; potential security risk and should be avoided unless the
- ; server is behind a trusted firewall.
- ; When enabled by setting to "yes", the autocreated peers are
- ; pruned immediately when the "sip reload" command is issued
- ; through CLI. When enabled by setting to "persist", the auto-
- ; created peers survive the "sip reload" command.
+;autocreatepeer=no ; Allow any UAC not explicitly defined to register
+ ; WITHOUT AUTHENTICATION. Enabling this options poses a high
+ ; potential security risk and should be avoided unless the
+ ; server is behind a trusted firewall.
+ ; If set to "yes", then peers created in this fashion
+ ; are purged during SIP reloads.
+ ; When set to "persist", the peers created in this fashion
+ ; are not purged during SIP reloads.
;
;------------------------ TLS settings ------------------------------------------------------------