[Asterisk-Users] reading global vars from AGI

Eric Wieling eric at fnords.org
Mon Oct 11 12:30:16 MST 2004


They are extensions.conf variables and not accessable via AGI.  You 
could do a SetVar(AGI_GROUPGOUNT=${GROUPCOUNT}) before running your 
AGI and access AGI_GROUPCOUNT within your AGI just like a normal variable.

shabanip wrote:

> btw, can i read them from agi? how?
> 
> ----- Original Message ----- From: "Brian West" <brian at bkw.org>
> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
> <asterisk-users at lists.digium.com>
> Sent: Monday, October 11, 2004 7:58 PM
> Subject: RE: [Asterisk-Users] reading global vars from AGI
> 
> 
>> Those are not global vars.
>>
>> bkw
>>
>>> -----Original Message-----
>>> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
>>> bounces at lists.digium.com] On Behalf Of shabanip
>>> Sent: Monday, October 11, 2004 10:17 AM
>>> To: asterisk-users at lists.digium.com
>>> Subject: [Asterisk-Users] reading global vars from AGI
>>>
>>> is there any way to read global vars like ${EXTEN},  ${GROUPCOUNT} 
>>> from an
>>> AGI?




More information about the asterisk-users mailing list