<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Thanks Tilghman. <br>
Is there a document that lists the functions that you have used in the script?<br>
If there is no such document, whats a good starting point to get a list of
them.<br>
<br>
Tilghman Lesher wrote:<br>
<blockquote type="cite"
cite="mid200312151145.30293.tilghman@mail.jeffandtilghman.com">
<pre wrap="">On Monday 15 December 2003 10:57, Sri wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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)...
</pre>
</blockquote>
<pre wrap=""><!---->
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
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>