[asterisk-users] Using variable as a context extension ?

Andre Courchesne - Consultant courchea at net-forces.com
Sun Oct 22 05:29:51 MST 2006


Hi,

  Is it possible to use a variable as a context extension? For exemple:

    [some-context]
    exten => s,1,Background(some_prompt)
    
    exten => ${key1},1,Noop(User pressed ${key1})
    exten => ${key2},1,Noop(User pressed ${key2})

  If now anyone can suggest how I could achieve this?

-- 
----
Andre Courchesne


More information about the asterisk-users mailing list