[Asterisk-Users] Lock Extension

Robert Goodyear me at jrob.net
Sat Aug 20 11:20:18 MST 2005


On Aug 18, 2005, at 3:07 AM, Stephen wrote:

> Hi All,
>
> How can I lock the extension in Asterisk?
> For example , my extension is 1000 and I am away for business trip.  
> I want to lock my extension during my absence.
> Can it be done in Asterisk?
>
> regards,
> Stephen

You could write a little script to mangle/unmangle your SIP context  
and then SIP RELOAD. You could assign it to a context called  
'disabled' whose only valid extension matching therein is to that  
same macro to authenticate and change your context back.



More information about the asterisk-users mailing list