[asterisk-users] some simple newbie help with dialplan needed...

Evert evert at poboxes.info
Fri Nov 3 06:47:42 MST 2006


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/${EXTEN}@${SERADDRESS},60,tr)


WaitExten obviously does not fill EXTEN with its value...



Anyone any suggestions?


Regards,
  Evert



More information about the asterisk-users mailing list