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

Dovid B asteriskusers at dovid.net
Sun Oct 22 06:01:41 MST 2006


It should because it is a variable however you would have to set it some 
where. Either by creating an extension that sets it or by setting it 
staticly.


----- Original Message ----- 
From: "Andre Courchesne - Consultant" <courchea at net-forces.com>
To: "Asterisk Users List" <asterisk-users at lists.digium.com>
Sent: Sunday, October 22, 2006 2:29 PM
Subject: [asterisk-users] Using variable as a context extension ?


> 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
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list