[asterisk-users] Locking phones at night...

Conrad Wood asterisk-users at conradwood.net
Tue Oct 17 09:47:44 MST 2006


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.






More information about the asterisk-users mailing list