Password lock for a caller

Hi all…
Anyone here knows if it is possible to protect a certain line from doing calls, putting some thing like a lock on it?
What I want it a way to define an SIP line to receive calls normaly, but to make calls, it needs to type some password, otherwise it will be locked…

any hint??

regards!

You could try Authenticate
voip-info.org/wiki/view/Aste … thenticate

hi… i found out a way using the Authenticate application
I’ve created an isolated context with this single DialPlan:

[lock]
exten => _X.,1,Authenticate(1234)
exten => _X.,2,Goto(default,${EXTEN},1)

and put my sip user in this context

Thats correct.