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

Denis Galvão denis at isolve.com.br
Fri Nov 12 09:01:32 MST 2004


Em Sex 12 Nov 2004 13:11, Andrew Thompson escreveu:
> 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.

Nice....

Thanks Andrew.

Denis.



More information about the asterisk-users mailing list