[Asterisk-Users] Problems with # and extensions.

Eric Wieling eric at fnords.org
Tue Jun 24 17:29:19 MST 2003


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)




More information about the asterisk-users mailing list