On Fri, 2007-07-20 at 02:08 -0400, BSumrall wrote:> My dial plan of issues?..> exten => s,1,Answer(60) > exten => s,2,Background(otherwise-press) > exten => s,1,Playback(digits/1) > exten => s,2,Goto(default,s,1) > exten => s,1,Playback(digits/2) > exten => s,2,Goto(default,s,1)I'm not sure why you have three different sets of priorities one and two here... Also, you have a *very* long argument to the Answer() application. Usually a second or two is plenty. Try something like this: exten => s,1,Answer(1) ; answer the call, then wait 1 second ; before going on to the next priority exten => s,2,Background(vm-enter-num-to-call) ; play prompt in ; background, waiting for caller to ; enter DTMF digits exten => s,3,WaitExten() ; continue to wait for digits after the ; prompt has finished exten => 1,1,SayDigits(1) ; say "one" exten => 1,2,Goto(s,1) ; go back to the menu exten => 2,1,SayDigits(2) ; say "two" exten => 2,2,Goto(s,1) ; go back to the menu Hopefully that will get you started in the right direction. -- Jared Smith Community Relations Manager Digium, Inc.
Jared Smith wrote:> On Fri, 2007-07-20 at 02:08 -0400, BSumrall wrote: > >> My dial plan of issues?.. >> >> exten => s,1,Answer(60) >> exten => s,2,Background(otherwise-press) >> exten => s,1,Playback(digits/1) >> exten => s,2,Goto(default,s,1) >> exten => s,1,Playback(digits/2) >> exten => s,2,Goto(default,s,1) >> > > I'm not sure why you have three different sets of priorities one and two > here... Also, you have a *very* long argument to the Answer() > application. Usually a second or two is plenty. Try something like > this: > >According to Asterisk 1.2.17 the delay is in milliseconds or, in this case, 0.06 seconds. ... asterisk*CLI> show application Answer asterisk*CLI> -= Info about application 'Answer' =- [Synopsis] Answer a channel if ringing [Description] Answer([delay]): If the call has not been answered, this application will answer it. Otherwise, it has no effect on the call. If a delay is specified, Asterisk will wait this number of milliseconds before returning to the dialplan after answering the call. regards, Drew -- Drew Gibson Systems Administrator OANDA Corporation 416-593-6767 x322 www.oanda.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070720/f6a25574/attachment.htm