aboutsummaryrefslogtreecommitdiffstats
path: root/configs/extensions.conf.sample
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-03 02:27:08 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-03 02:27:08 +0000
commit61e53e40334989017613a7bb938152fd2ecc43f6 (patch)
treebf153fdf6af058c3d8a1a22ae2beaf8a6b5dfb2c /configs/extensions.conf.sample
parent787c08a3fc686be8c47f4dda38e234ff1fdfb3ca (diff)
allow global variables to be reset on reload (defaults to off) (bug #4385)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5825 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/extensions.conf.sample')
-rwxr-xr-xconfigs/extensions.conf.sample11
1 files changed, 10 insertions, 1 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index ca5b44bc7..1bba5ea7a 100755
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -34,7 +34,16 @@ writeprotect=no
; (this is the original behavior of Asterisk 1.0 and earlier).
;
autofallthrough=yes
-
+;
+; If clearglobalvars is set, global variables will be cleared
+; and reparsed on an extensions reload, or Asterisk reload.
+;
+; If clearglobalvars is not set, then global variables will persist
+; through reloads, and even if deleted from the extensions.conf or
+; one if its included files, will remain set to the previous value.
+;
+clearglobalvars=no
+;
; You can include other config files, use the #include command (without the ';')
; Note that this is different from the "include" command that includes contexts within
; other contexts. The #include command works in all asterisk configuration files.