[Asterisk-Users] ivr key press?

Brian West brian at bkw.org
Sat Dec 20 21:17:40 MST 2003


Do you have the context with exten 3000 included in the same place as
exten 620 is?  If not then it can in no way work.

bkw

On Sat, 20 Dec 2003, Rich Adamson wrote:

> Hi Steve,
>
> > On Sat, 2003-12-20 at 21:06, Rich Adamson wrote:
> > > I'm testing an ivr implementation (first time) using:
> > > exten => 620,1,Wait,1
> > > exten => 620,2,Answer
> > > exten => 620,3,DigitTimeout,5
> > > exten => 620,4,ResponseTimeout,10
> > > exten => 620,5,Background(npi-greeting)  ; "Thanks for calling press 1 for"
> > >
> > > exten => 1,1,Goto(npi-directory,s,1)
> > >
> > > For initial testing, I've arbitrarily mapped this onto ext 620 (will
> > > change that later when things are working as expected).
> > >
> > > The initial "npi-greeting" message essentially says "...if you know
> > > your party's extension, you can dial it at any time.  Press 1 for
> > > Sales, etc."
> > >
> > > If during this initial greeting I press 3000 (which is a valid extn),
> > > I can only press the first "3" before I get kicked out (I can't dial
> > > the full 3000).
> > >
> > > Am I supposed to be setting this up to expect only single-digit
> > > key presses (instead of 3000), or am I missing something that would
> > > suggest waiting for four key presses?
> >
> > Well do you have a 3 extension in the npi-directory or any othe context
> > being included? Posting more of your current extensions.conf file would
> > help. Basically what you provided was much help as it isn't where you
> > are in the dialplan when your problems occur, nor have you included the
> > text from the console which will tell you where asterisk was trying to
> > go.
>
> Okay, let me see if I can reword it a little different.
>
> While the exten => 620,5,Background(npi-greeting) statement is executing,
> I'm wanting to key in "3000" (as a valid extension). Should I be able to
> do that, or is the response limited to a single key press?
>
> If I attempt to do that, only the first digit is accepted. There are no
> CLI messages when the "3" is pressed. The C7960 drops the call. I don't
> care about dropping it right now as there is no submenu to handle a
> single key press of 3, therefore I'm expecting it to drop the call.
>
> The question is more oriented around "is there some expectation within
> asterisk that the keypress is a single press, or should I expect to be
> able to enter the 3000 during the background message"?
>
> If the answer is that I should be able to press 3000, then what might
> be causing this to immediately try to process the "3" and not wait
> for the full 3000? (That's that part I'm not seeing; forest and the trees
> kind of thing).
>
> Rich
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list