Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Global Variables on Reload


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rschall at callone.net
Guest





PostPosted: Mon Mar 10, 2008 9:09 am    Post subject: [asterisk-users] Global Variables on Reload Reply with quote

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?
Rob
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Mar 10, 2008 10:01 am    Post subject: [asterisk-users] Global Variables on Reload Reply with quote

On Mon, Mar 10, 2008 at 09:09:41AM -0500, Rob Schall wrote:
Quote:
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
Back to top
elam at officegeneral.com
Guest





PostPosted: Mon Mar 10, 2008 12:51 pm    Post subject: [asterisk-users] Global Variables on Reload Reply with quote

Rob Schall wrote:
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services