exten => *5,1,DBget($Night=GlobalSettings/Night) ; if not night then set it
exten => *5,2,DBdel(GlobalSettings/Night)
exten => *5,3,Playback(night_off)
exten => *5,4,Hangup
exten => *5,102,DBput(GlobalSettings/Night=true)
exten => *5,103,Playback(night_on)
exten => *5,104,Hangup
Set Night and then have a voice response saying "Night on" or "Night Off" accordingly...
On Tuesday, September 2, 2003, at 04:50 AM, Mickey Binder wrote:
-----Original Message----- From: Tomas Prybil [mailto:[EMAIL PROTECTED] Sent: 2. september 2003 10:50 To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Change include contexts runtime
Mickey Binder wrote:
valuesIt looks like it. With DBput and DBget im able to change the variableand then branch to different contexts with GotoIf. Now I just need to implement the right logic for the different situations.
And maybe be able to get some sort of feedback to the users. Change of dialtone or visual indication?
/t
Yeah...I thought of making a voice response telling the user whether he turned "out-of-office" voicemail on or off, and then hangup afterwards.
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
