[Asterisk-Users] Lock the phone when no using it

Andrew Thompson
2004-11-12T08:11:44Z

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