Hi,
I get confuse with the use of my php script (via AGI) with something like the traditionnal
exten => s,1,Agi(my_script.php)
Everything goes right when I launch the script and this script nicely ends with the wanted results.
However, I can’t get a channel variable from within the script. In fact, when I do a “GET VARIABLE MYVARIABLE”, the result I get is :
200 result=1
and that’s all !! No value of variable after the “result=1”, whereas the variable is well set and accessible from the dialpan.
Any idea ?
Thank you