Summary:ASTERISK-04279: [patch] Allow for deletion and reparsing of global variables on extensions reload/pbx reload
Reporter:twisted (twisted)Labels:
Date Opened:2005-05-26 01:18:45Date Closed:2008-01-15 15:36:54.000-0600
Versions:Frequency of
Environment:Attachments:( 0) clearglobalvars-options.patch.txt
Description:Current behaviour is to leave global variables intact, even through reloads.  This option is less than convenient for some of the work we do, so I have created the option to allow this to hapen.

setting clearglobalvars=yes (defaults to no if not set or if left along in stock sample config) will enable this to happen.
Comments:By: Russell Bryant (russell) 2005-05-26 18:25:26

I think that it would be nice to convert those options over to using 'struct ast_flags' while you're at it.  :)

By: Kevin P. Fleming (kpfleming) 2005-06-02 22:24:22

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:36:54.000-0600

Repository: asterisk
Revision: 5825

U   trunk/configs/extensions.conf.sample
U   trunk/pbx/pbx_config.c

r5825 | kpfleming | 2008-01-15 15:36:54 -0600 (Tue, 15 Jan 2008) | 2 lines

allow global variables to be reset on reload (defaults to off) (bug ASTERISK-4279)