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/[EMAIL PROTECTED],60,Ttr)
exten => s,4,Hangup

The thing is that this is not working the
exten => s,3,Dial(SIP/[EMAIL PROTECTED],60,Ttr)
calls null number.

How do I pass the number to s,3.
Can I do a check if caller entered any numbers?

Thanks

Bart,


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to