[svn-commits] murf: trunk r59453 - in /trunk: ./
configs/extensions.conf.sample
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Mar 29 18:16:22 MST 2007
Author: murf
Date: Thu Mar 29 20:16:22 2007
New Revision: 59453
URL: http://svn.digium.com/view/asterisk?view=rev&rev=59453
Log:
Merged revisions 59452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59452 | murf | 2007-03-29 18:56:36 -0600 (Thu, 29 Mar 2007) | 1 line
A small clarification to keep bugs from being filed, and confusion from rising, if clearglobalvars is set, and globals are set in the AEL file. (9419)
........
Modified:
trunk/ (props changed)
trunk/configs/extensions.conf.sample
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/configs/extensions.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/extensions.conf.sample?view=diff&rev=59453&r1=59452&r2=59453
==============================================================================
--- trunk/configs/extensions.conf.sample (original)
+++ trunk/configs/extensions.conf.sample Thu Mar 29 20:16:22 2007
@@ -42,6 +42,16 @@
; If clearglobalvars is not set, then global variables will persist
; through reloads, and even if deleted from the extensions.conf or
; one of its included files, will remain set to the previous value.
+;
+; NOTE: A complication sets in, if you put your global variables into
+; the AEL file, instead of the extensions.conf file. With clearglobalvars
+; set, a 'reload' will often leave the globals vars cleared, because it
+; is not unusual to have extensions.conf (which will have no globals)
+; load after the extensions.ael file (where the global vars are stored).
+; So, with 'reload' in this particular situation, first the AEL file will
+; clear and then set all the global vars, then, later, when the extensions.conf
+; file is loaded, the global vars are all cleared, and then not set, because
+; they are not stored in the extensions.conf file.
;
clearglobalvars=no
;
More information about the svn-commits
mailing list