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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Worked on same version when I did it...using
PHP</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"></blockquote></div><div><span class="e" id="q_10cb6b7e421dfcaf_1">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="simon@openflows.org" href="mailto:simon@openflows.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Simon
Austin</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Asterisk Users Mailing List -
Non-Commercial Discussion</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, July 28, 2006 3:52 PM
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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 href="http://bugs.digium.com/view.php?id=7609" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="mailto:russell@digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">russell@digium.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 href="http://voip-info.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">voip-info.org</a> indicates
that the GET VARIABLE <br>> (<a href="http://www.voip-info.org/wiki/view/get+variable" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://bugs.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a>
--<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options
visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>asterisk-users mailing
list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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>