On Tue, 2006-10-17 at 10:25 -0500, Carlos Chavez wrote:
>       I have a customer that wants to lock his phone when he goes home at
> night so no one else can use it.  What would be the easiest way to do
> this?

To do something similar, I created a dialplan extension that - if
dialled - creates a file on the server. If dialled again, it removes the
file again.
Then, in the context of the phone I check for existence of that file and
if it exists I play a busy signal and hangup. (Of course, unless the
extension to re-enable it is dialled ;) ).
Additionally, I ask the user for a password to lock/unlock it.




_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to