Displaying 2 results from an estimated 2 matches for "nightset".
Did you mean:
nights
2003 Apr 01
0
Nightsettings
Based on James suggestion to use the DB functions I made the following and
thought it might be nice to share:
;
exten => s,1,DBget($Night=GlobalSettings/Night) ; if not night jump to +101
exten => s,2,Goto(closed,s,1) ;Night has been set, we're closed
exten => s,102,Goto(open,s,1) ;Night has not been set so we are open
;
; night settings
; calling 6502 toggles the Night-settings
;
2003 Aug 31
2
DBSaveTree & DBLoadTree
...t Asterisk....
Looking at showtree in db.c (why isn't that exposed in the CLI?) It
shouldn't be too difficult, but I don't want to reinvent the wheel.
On the same track, I am also looking at exposing DBput & DBget to the
manager interface, thus making it easy to st global stuff like
nightsettings...
Michiel
Betel Consultancy
Abelenlaan 19 T: +31 20 640 3018
1185 RT Amstelveen E: <mailto:info@betel.nl> info@betel.nl
The Netherlands W: <http://www.betel.nl/> www.betel.nl
Confidentiality Notice - The information contained in this e-mail is
intende...