If you are refering to the Login & Logout of Auto Attendant you can find
an example in the wiki...
But here is an my example of what you will find in the wiki....
;Auto Attendant Login & Out
exten => *801,1,DBPut(auto/attendant=1)
exten => *801,2,Hangup
exten => *802,1,DBPut(auto/attendant=0)
exten => *802,2,Hangup
;Incoming calls- check if autoattendant is logged in, otherwise goto
"main"
exten => s,1,DBGet(autoattendant=auto/attendant)
exten => s,2,GotoIf($[${autoattendant} = 1]?3:4)
exten => s,3,Dial(SIP/recep,30,t)
exten => s,4,Goto(main,s,1)
[main]
exten => s,1,Answer
exten => s,2,Background(ctm-main-thanks)
exten => 1,1,Goto(default-ctm,3001,1)
exten => 2,1,Goto(default-ctm,3002,1)
exten => 0,1,Goto(default-pb,2002,1)
exten => 3,1,Hangup
Hope this helps....
-gcc
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of James Moran
Posted At: Thursday, April 08, 2004 1:48 PM
Posted To: Asterisk User Group
Conversation: [Asterisk-Users] Auto Attendant??
Subject: [Asterisk-Users] Auto Attendant??
I'm having trouble finding documentation for the auto attendant does
anyone have an idea where there might be some???
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users