I wanted to get the return a value of AGI to a dialplan and store that value into a variable…
;this will call myscript.agi
exten = > s,1, AGI(myscript.agi)
there is a standard output to Asterisk in the myscript.agi,for example CHANNEL STATUS,and there will have a return value 0~6.
How can I get the value and store it into a variable in the dialplan.