[Asterisk-Users] Lock the phone when no using it
Andrew Thompson
asteriskuser at aktzero.com
Fri Nov 12 08:11:44 MST 2004
Denis Galvão wrote:
> Is there a way(or some AGI app) to lock out the phone when user are not
> using it!?
>
> Thanks.
You can set up an extension that does a dbput to a variable which
"locks" the phone.
When someone tries to dial anything but 911 (or local equivalent), your
context should test for if the phone is locked and if so, fail it. Same
thing for calls going toward the phone if that's required.
You would also need an extension and possibly a password to "unlock" the
phone, by setting the variable to another value.
--
Andrew Thompson
http://aktzero.com/
More information about the asterisk-users
mailing list