Password lock for a caller


#1

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!


#2

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


#3

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


#4

Thats correct.