|Summary:||ASTERISK-04481: AGI GET VARIABLE not finding variables|
|Reporter:||Matt King, M.A. Oxon. (kebl0155)||Labels:|
|Date Opened:||2005-06-25 19:27:55||Date Closed:||2005-06-26 01:14:13|
I have a need to pass data from extensions.conf to my agi script over FastAGI.
I've been trying to do this with the AGI GET VARIABLE command. My extensions.conf looks like this:
exten => t,1,Ringing()
exten => t,2,Wait(2)
exten => t,Set(MyVariable=100)
exten => t,4,agi(agi://192.168.0.1)
Then inside the agi server I'm sending
GET VARIABLE MyVariable
The result is always
which means the variable is not being found.
Any ideas? Even a workaround would be most helpful...
|Comments:||By: Matt King, M.A. Oxon. (kebl0155) 2005-06-25 21:01:56|
This just started working - not quite sure why...