ok, did that and added the Concise option to try as well<br><br>I see the channel but not the variable in either option<br><br>Local/s@ObTest2-2059,1:macro-stdexten:s:8:Up:Dial:Local/s@ObTest/n|:191922::3:80:Local/s@ObTest-91a2,1<br>
<br>Wonder if my syntax is slightly off on Setvar...<br><br><br><br><div class="gmail_quote">On Tue, Jul 21, 2009 at 9:39 AM, Miguel Molina <span dir="ltr"><<a href="mailto:mmolina@millenium.com.co">mmolina@millenium.com.co</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">J. G. escribió:<br>
<div class="im">> Yeah, I accidentally pressed "Send" too early on my question - I knew<br>
> I was going to get a google back, was trying to beat the buzzer on a<br>
> reply!<br>
><br>
> I am using as stated, but when I attempt to retrieve the channel<br>
> variable in an AGI, I get nothing back correctly<br>
><br>
> In my Call file:<br>
> Setvar: LICENSE=test<br>
><br>
> In my AGI<br>
> $AGI->get_full_variable('LICENSE');<br>
> (or)<br>
> $AGI->get_variable('LICENSE');<br>
><br>
> AGI Rx << GET FULL VARIABLE LICENSE<br>
> AGI Tx >> 200 result=1 (LICENSE)<br>
> AGI Rx << NOOP --> LICENSE = LICENSE<br>
> (instead of 'test')<br>
><br>
> So, is my Call file syntax incorrect? Is my AGI retrieve incorrect?<br>
><br>
> Thanks,<br>
> PB<br>
</div>To be sure of the values of the variables you set on the call file,<br>
while the call is on you can do a CLI "core show channel <tech>/<chan>".<br>
That will give you a complete information, including channel variables<br>
and their actual values. If the call happens too fast, add a<br>
Wait(<seconds>) on your dialplan to keep the channel alive while you<br>
check its info with the command.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
--<br>
Ing. Miguel Molina<br>
Grupo de Tecnología<br>
Millenium Phone Center<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.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">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>