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" <[EMAIL PROTECTED]>
To: "Asterisk Users List" <[email protected]>
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



_______________________________________________
--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

Reply via email to