[Asterisk-Users] invalid extension -> missing the original ${EXTEN} value

Hermann Wecke hermann at wecke.com
Wed Jul 14 05:25:42 MST 2004


How I can retrieve the original ${EXTEN} value when falling into the
exten => i,1,whatever "context"??

I'm trying to implement this extension rule:

exten => i,1,NoOp(${EXTEN})
exten => i,2,Wait(1)
exten => i,3,Playback(vm-extension)
exten => i,4,SayDigits(${EXTEN})
exten => i,5,Playback(is-invalid)
exten => i,6,Playback(pls-try-again)
exten => i,7,Goto(s,12)

But the ${EXTEN} in this example is "i":

    -- Invalid extension '4' in context 'callerid0800' on SIP/1018-e5b5
  == CDR updated on SIP/1018-e5b5
    -- Executing NoOp("SIP/1018-e5b5", "i") in new stack

TIA, hermann



More information about the asterisk-users mailing list