[asterisk-users] Global Variables on Reload

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Mar 10 10:01:47 CDT 2008


On Mon, Mar 10, 2008 at 09:09:41AM -0500, Rob Schall wrote:
> I'm running Asterisk 1.4.18 and having a problem with the
> clearglobalvars option.
> 
> I have a NIGHT_SERVICE variable which I initially set equal to off. I
> then have an extension they can dial which will toggle that variable. My
> problem is when you enter the CLI and type "reload", it resets to "off"
> again. I've tried setting the clearglobalvars=no as well as just
> commenting out that line, but no luck so far.
> 
> Any ideas?

What happens if Asterisk is restarted?

Use the DB?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list