[Asterisk-Users] reading global vars from AGI
Steve Edwards
asterisk.org at sedwards.com
Mon Oct 11 12:43:12 MST 2004
${EXTEN} is passed in the AGI "environment" as are:
accountcode
callerid
channel
context
dnid
enhanced
language
priority
rdnis
request
type
uniqueid
For others, the "setvar" approach seems appropriate.
On Mon, 11 Oct 2004, Eric Wieling wrote:
>
> 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?
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline pagesteve at sedwards.com Fax: +1-760-731-3000
More information about the asterisk-users
mailing list