[Asterisk-Users] Lock Extension

Stephen myvoip at gmail.com
Wed Sep 7 09:23:40 MST 2005


Hi Robert,

Do you have the sample script for locking the extension?

Thanks,
Stephen

Robert Goodyear wrote:

> 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.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>



More information about the asterisk-users mailing list