You're on the right track.
Try the following:
[whatever]
exten => 988,1,Answer
exten => 998,2,Background(agent-newlocation)
exten => 998,3,DigitTimeout,5
exten => 998,4,ResponseTime,10
exten => 998,4,ResponseTime,10
exten => _XXXX,1,Dial(SIP/[EMAIL PROTECTED],60,tr)
exten => i,1,Playback(pbx-invalid)
exten => i,2,goto(whatever,988,2)
exten => i,2,goto(whatever,988,2)
Good luck,
bp
On 11/3/06, Evert <[EMAIL PROTECTED]> wrote:
Hi all!
I need a simple plan for the following:
*answer call
*wait for 4 digit extension
*send call to 4-digit extension entered.
I tried the following, but that doesn't work...
exten => 998,1,Answer()
exten => 998,2,Background(agent-newlocation)
exten => 998,n,WaitExten(20)
exten => 998,n,Dial(SIP/[EMAIL PROTECTED],60,tr)
WaitExten obviously does not fill EXTEN with its value...
Anyone any suggestions?
Regards,
Evert
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
