ok, did that and added the Concise option to try as well I see the channel but not the variable in either option
Local/s...@obtest2-2059,1:macro-stdexten:s:8:Up:Dial:Local/s...@obtest /n|:191922::3:80:Local/s...@obtest-91a2,1 Wonder if my syntax is slightly off on Setvar... On Tue, Jul 21, 2009 at 9:39 AM, Miguel Molina <mmol...@millenium.com.co>wrote: > J. G. escribió: > > Yeah, I accidentally pressed "Send" too early on my question - I knew > > I was going to get a google back, was trying to beat the buzzer on a > > reply! > > > > I am using as stated, but when I attempt to retrieve the channel > > variable in an AGI, I get nothing back correctly > > > > In my Call file: > > Setvar: LICENSE=test > > > > In my AGI > > $AGI->get_full_variable('LICENSE'); > > (or) > > $AGI->get_variable('LICENSE'); > > > > AGI Rx << GET FULL VARIABLE LICENSE > > AGI Tx >> 200 result=1 (LICENSE) > > AGI Rx << NOOP --> LICENSE = LICENSE > > (instead of 'test') > > > > So, is my Call file syntax incorrect? Is my AGI retrieve incorrect? > > > > Thanks, > > PB > To be sure of the values of the variables you set on the call file, > while the call is on you can do a CLI "core show channel <tech>/<chan>". > That will give you a complete information, including channel variables > and their actual values. If the call happens too fast, add a > Wait(<seconds>) on your dialplan to keep the channel alive while you > check its info with the command. > > Cheers, > > -- > Ing. Miguel Molina > Grupo de Tecnología > Millenium Phone Center > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users