[Asterisk-Dev] Getting priority within AGI
James Golovich
james at wwnet.net
Mon Jun 30 12:15:44 MST 2003
It should be pretty easy to make pbx_builtin_getvar_helper call
pbx_substitute_variables_temp. If I get a chance sometime tonight I'll
see what I can come up wiht
James
On Mon, 30 Jun 2003, Martin Pycko wrote:
> I guess that has to be changed ....
>
> Martin
>
> On Mon, 30 Jun 2003, James Golovich wrote:
>
> > 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
> >
> > James
> >
> > 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.
> >
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list