[Asterisk-Dev] Problems with # and extensions.

Eric Wieling eric at fnords.org
Wed Jun 25 09:29:46 MST 2003


Is there any function in asterisk to "throw out the dtmf queue", I could
add it as an option to background.

On Wed, 2003-06-25 at 11:12, Mark Spencer wrote:
> Is this with an ATA?  If so, try putting a "Wait,1" before that Goto so
> that we don't get two digits from the ATA instead of one.
> 
> Mark
> 
> On 24 Jun 2003, Eric Wieling wrote:
> 
> > I get the following message when I dial 74#.  Does anyone have any ideas
> > on what might be going on?  If I don't require numbers to be terminated
> > with # everything works as expected, but you have to wait for the digit
> > timeout, of course.
> >
> > MESSEGE:
> >
> > DEBUG[1150520624]: File pbx.c, Line 1683 (ast_pbx_run): Oooh, got
> > something to jump out with ('#')!
> >     -- Invalid extension '#' in context 'speeddial' on SIP/2111-076f
> >
> > CONFIG:
> >
> > [default]
> > exten => 74#,1,Goto(speeddial,s,1)
> >
> > [speeddial]
> >
> > exten => s,1,Background(${MYSOUNDS}/enterspeedcode)
> >
> > exten => 1#,1,Background(${MYSOUNDS}/speedhelp)
> > exten => 1#,2,Goto(s,1)
> >
> > exten => _[2-9]#,1,SetVar(SPEEDCODE=${EXTEN})
> > exten => _[2-9]#,2,Background(${MYSOUNDS}/enterspeednumber)
> >
> > exten => _X.#,1,SetVar(SPEEDNUMBER=${EXTEN})
> > exten => _X.#,2,Background(${MYSOUNDS}/speedcode)
> > exten => _X.#,3,SayDigits(${SPEEDCODE})
> > exten => _X.#,4,Background(${MYSOUNDS}/assignedto)
> > exten => _X.#,5,SayDigits(${SPEEDNUMBER})
> >
> >
> > --
> > BTEL Consulting
> > 850-484-4535 x2111 (Office)
> > 504-595-3916 x2111 (Experimental)
> > 877-552-0838 (Backup Phone)
> >
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
BTEL Consulting
850-484-4535 x2111 (Office)
504-595-3916 x2111 (Experimental)
877-552-0838 (Backup Phone)




More information about the asterisk-dev mailing list