[Asterisk-Users] Simple authentication

Robert Goodyear me at jrob.net
Thu Mar 31 07:17:09 MST 2005


On Mar 31, 2005, at 12:11 AM, Bartosz Wegrzyn - asterisk wrote:

> Hi,
>
> I would like to create extension, so user will have to enter password, 
> and
> later he will be prompt for a number to call.
> My config looks like this (ONLY THE PART OF):
>
> exten => 888,1,Ringing(),
> exten => 888,2,wait(2)
> exten => 888,3,Background,welcome
> exten => 888,4,Authenticate(1234|a)
> exten => 888,5,goto(plan,s,1)
>
> [plan]
> exten => s,1,Playback,pls-entr-num-uwish2-call
> exten => s,2,wait(10)
> exten => s,3,Dial(SIP/${EXTEN-1 at Nikotel,60,Ttr)
> exten => s,4,Hangup

My understanding was that WAIT() does not listen for input.




More information about the asterisk-users mailing list