Actually that would be using call files. Will try it and let everyone know.

------------------------------

Message: 25
Date: Sun, 22 Oct 2006 15:01:41 +0200
From: "Dovid B" <[EMAIL PROTECTED]>
Subject: Re: [asterisk-users] Using variable as a context extension ?
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
        <asterisk-users@lists.digium.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
        reply-type=response

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" <asterisk-users@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
>




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