${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" <[EMAIL PROTECTED]>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] [mailto:asterisk-users-
[EMAIL PROTECTED] On Behalf Of shabanip
Sent: Monday, October 11, 2004 10:17 AM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
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 [EMAIL PROTECTED] Voice: +1-760-468-3867 PST
Newline [EMAIL PROTECTED] Fax: +1-760-731-3000
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users