[Asterisk-Users] turn on/off auto/attendant by dialing an extension

Tony Nichols tony.nichols at gmail.com
Thu Dec 23 14:21:12 MST 2004


The wikki has an example that uses a db....

;Login with *801, log out with *802
 exten => *801,1,DBPut(auto/attendant=1)
 exten => *802,1,DBPut(auto/attendant=0)
 
 ;Incoming calls- check if autoattendant is logged in, otherwise goto "auto"
 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) 

Is there a way to do it without the dbput/dbget?

Thanks,
-- 
A.G. (Tony) Nichols
I.S. Manager



More information about the asterisk-users mailing list