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

William Piper william.piper at gmail.com
Fri Nov 3 13:40:26 MST 2006


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 => _XXXX,1,Dial(SIP/${EXTEN}@{SERADDRESS},60,tr)

exten => i,1,Playback(pbx-invalid)
exten => i,2,goto(whatever,988,2)

Good luck,

bp

On 11/3/06, Evert <evert at poboxes.info> 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/${EXTEN}@${SERADDRESS},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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061103/dee518de/attachment.htm


More information about the asterisk-users mailing list