<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I can retrieve GLOBAL variables that I set in
AGI...I never tried setting them in extensions.conf and then retrieving...but I
would have assumed the same result...but you never know I guess</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=simon@openflows.org href="mailto:simon@openflows.org">Simon
Austin</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 28, 2006 4:10 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] accessing
dialplan global variables in agi</DIV>
<DIV><BR></DIV>I first tried using the perl AGI libraries, then when that
didn't work I tried using GET VARIABLE directly.<BR><BR>The global variables
I'm talking about are the globals that are defined in the dialplan under
[globals]. Not the predefined channel variables ( e.g.
CALLERID)<BR><BR>I confirmed that there was not something wrong with my code
by correctly retrieving both som predefined channel variables and some local
variables that I set using Set().<BR><BR>Can you please confirm that you're
able to retrieve global variables set in the [globals] section of the
dialplan? <BR><BR>Cheers,<BR><BR>- Simon<BR><BR>
<DIV><SPAN class=gmail_quote>On 7/28/06, <B class=gmail_sendername>Don</B>
<<A href="mailto:sales@xwebfactor.com">sales@xwebfactor.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Worked on same version when I did it...using
PHP</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px"></BLOCKQUOTE></DIV>
<DIV><SPAN class=e id=q_10cb6b7e421dfcaf_1>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=simon@openflows.org
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:simon@openflows.org" target=_blank>Simon Austin</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=asterisk-users@lists.digium.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk-users@lists.digium.com" target=_blank>Asterisk Users
Mailing List - Non-Commercial Discussion</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Friday, July 28, 2006 3:52 PM </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [asterisk-users] accessing dialplan global variables in agi</DIV>
<DIV><BR></DIV>I have confirmed that GET VARIABLE doesn't return global
variables in version 1.2.10 and submitted the following bug report: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://bugs.digium.com/view.php?id=7609"
target=_blank>http://bugs.digium.com/view.php?id=7609
</A><BR><BR>Cheers,<BR><BR>
<DIV><SPAN class=gmail_quote>On 7/27/06, <B class=gmail_sendername>Russell
Bryant</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:russell@digium.com" target=_blank>russell@digium.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">On
Thu, 2006-07-27 at 19:02 -0400, Simon Austin wrote:<BR>> Is it possible
to access dialplan global variables from the AGI?<BR><BR>It certainly
should be.<BR><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://voip-info.org" target=_blank>voip-info.org</A> indicates that
the GET VARIABLE <BR>> (<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.voip-info.org/wiki/view/get+variable"
target=_blank>http://www.voip-info.org/wiki/view/get+variable</A>) command
can't get them.<BR><BR>If you try it out and this does not work, I would
consider that a bug. <BR>Feel free to report it on <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://bugs.digium.com" target=_blank>bugs.digium.com</A> if that is
the case.<BR><BR>--<BR>Russell Bryant<BR>Software Developer<BR>Digium,
Inc.<BR><BR>_______________________________________________
<BR>--Bandwidth and Colocation provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://Easynews.com" target=_blank>Easynews.com</A>
--<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV>
<DIV>
<P></P>
<HR>
<P></P>_______________________________________________</DIV>
<DIV><SPAN class=q><BR>--Bandwidth and Colocation provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://Easynews.com" target=_blank>Easynews.com</A>
--<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></SPAN></DIV>
<DIV>
<P></P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date:
7/26/2006<BR>
<P></P>
<P></P></DIV></DIV><BR>_______________________________________________<BR>--Bandwidth
and Colocation provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://Easynews.com" target=_blank>Easynews.com</A> --
<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR><BR></BLOCKQUOTE></DIV><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users<BR>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date:
7/26/2006<BR></BLOCKQUOTE></BODY></HTML>