[Asterisk-Users] turn on/off auto/attendant by dialing an
extension
Tony Nichols
tony.nichols at gmail.com
Tue Dec 28 09:43:00 MST 2004
On Fri, 24 Dec 2004 01:22:47 -0500, Jon Radon <jonr800 at gmail.com> wrote:
> Can I ask why? This is clearly the easiest/best way to go about it.
>
>
> On Thu, 23 Dec 2004 16:21:12 -0500, Tony Nichols <tony.nichols at gmail.com> wrote:
> > 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
> > _______________________________________________
> >
> --
> Is it something someone said, was it something someone said?
>
I haven't used MySql much... and would like a simple solution I can
copy/paste to other installations.
A.G. (Tony) Nichols
I.S. Manager
More information about the asterisk-users
mailing list