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

Andre Courchesne - Consultant courchea at net-forces.com
Sun Oct 22 10:22:30 MST 2006


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" <asteriskusers at dovid.net>
Subject: Re: [asterisk-users] Using variable as a context extension ?
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
	<asterisk-users at lists.digium.com>
Message-ID: <000e01c6f5da$52f10280$16bb11ac at DovidLaptop>
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" <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