[asterisk-users] AGI: "Get variable" returns variable VALUE vs "Get full variable" returns variable NAME - bug or my misunderstanding?

Sean Bright sean.bright at gmail.com
Fri Dec 27 13:35:20 CST 2019


On 12/27/2019 2:24 PM, Jonathan H wrote:
> <Local/1000 at default-0000001f;2>AGI Rx << SET VARIABLE myVar "Hello 
> World!!!"
> <Local/1000 at default-0000001f;2>AGI Tx >> 200 result=1
> <Local/1000 at default-0000001f;2>AGI Rx << GET FULL VARIABLE myVar
> <Local/1000 at default-0000001f;2>AGI Tx >> 200 result=1 (myVar)
>
> Is this a bug, poor documentation, or my poor understanding of them?

I believe the syntax you are looking for is:

     GET FULL VARIABLE ${myVar}

Kind regards,
Sean



More information about the asterisk-users mailing list