search for: night_service

Displaying 2 results from an estimated 2 matches for "night_service".

2008 Mar 10
2
Global Variables on Reload
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 tha...
2007 Apr 02
1
Mysql issue
Trying to create an extension that will toggle an enum value in our database... exten => s,1,MYSQL(Connect connid localhost myuser tmppass asterisk) exten => s,n,MYSQL(Query resultid ${connid} UPDATE\ night_service\ SET\ status=(SELECT\ CASE\ status\ WHEN\ \'y\'\ THEN\ \'n\'\ ELSE\ \'y\'\ END)); exten => s,n,MYSQL(Clear ${resultid}) exten => s,n,MYSQL(Disconnect ${connid}) exten => s,n,Hangup This is saying its exiting with a 0 value, and then I get a busy. Does anyone see wh...