[asterisk-users] Global Variables on Reload

Grygoriy Dobrovolskyy megahohol at gmail.com
Mon Mar 10 17:00:21 CDT 2008


or use astdb, pretty much simple

2008/3/10, Edwin Lam <elam at officegeneral.com>:
>
> 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?
>
>
> we use MySQL db to store those global vars in our installation. i
> guess you can use and db to do that.
>
>
>
> --
> Edwin Lam <edwin.lam at officegeneral.com>
> Systems Engineer, Office General, Inc.
> Ph: +1 415 439 4988 Fax: +1 415 283 3370
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080310/77c3f5a2/attachment.htm 


More information about the asterisk-users mailing list