[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Mon Dec 15 10:45:29 MST 2003
On Monday 15 December 2003 10:57, Sri wrote:
> Hi All
> This is one scenario I would like to have some help. I have
> searched the digium lists and could not find any posts on this.
>
> How can an Attendant switch on or off the AutoAttendant from her
> phone? Eg.
> 8am -> Attendent enters office -> switches OFF auto attendent.
> He/She takes in all the incoming calls and answers.
> 12pm -> out of lunch. Needs to put the system back into Auto.
> 1 pm -> return from lunch. Needs to switch OFF auto attendent
> 5 pm- > Puts Auto attendent ON.
>
> I am sure there can be a script built that should change
> extensions.conf. and reloading asterisk on the attendent activating
> based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm.
> I dont want this to be time restricted. the attendent should have
> control. Is there a better way ? this could be even done through
> the phone of the attendent eg, like *80-1 (ON) *80 - 2 (OFF)...
exten => *801,1,DBPut(auto/attendant=1)
exten => *802,1,DBPut(auto/attendant=0)
exten => s,1,DBGet(autoattendant=auto/attendant)
exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1)
exten => s,3,Dial(Zap/23,30,t)
exten => s,4,Goto(auto|1)
-Tilghman
More information about the asterisk-users
mailing list