[Asterisk-Users] Simple authentication

Bartosz Wegrzyn - asterisk junk at lexon.ws
Thu Mar 31 09:47:21 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.

You are right, if there is a wait it wont take any input.
My bad. I will try without it.

Thanks

>
> _______________________________________________
> 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