[Asterisk-Dev] Getting priority within AGI

James Golovich james at wwnet.net
Mon Jun 30 11:26:56 MST 2003

If your talking about trying to access the 'PRIORITY' channel variable
then it won't work, since those special vars are substituted in during
pbx_extension_helper by pbx_substitute variables.  Those special vars only
work from extensions.conf


On Mon, 30 Jun 2003, Martin Pycko wrote:

> If the app is giving back execution to your script you should be able
> to retrieve the value of PRIORITY local variable.
> Martin
> On 30 Jun 2003, Eric Wieling wrote:
> > Is there any way to GET the current priority within an AGI script.  I
> > know I can get that info when the AGI script starts, but if an
> > application that I EXEC changes the priority, I don't know how to get
> > the new priority.

More information about the asterisk-dev mailing list