[Asterisk-Dev] Problems with # and extensions.

Mark Spencer markster at digium.com
Wed Jun 25 09:12:54 MST 2003


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
>




More information about the asterisk-dev mailing list