[asterisk-users] Variable. AMI and dialplan

Sebastian scgm at adinet.com.uy
Mon Mar 28 08:57:58 CDT 2011


this may be related with:

https://issues.asterisk.org/view.php?id=14662


El 28/03/2011 10:20, Sherwood McGowan escribió:
> Don't know then, that's all I've got far ya today mate, sorry
>
> On 3/28/2011 8:18 AM, magnus.b at inputinterior.se wrote:
>> I did use Action: Getvar when i read it back in AMI.
>>
>> On 3/28/2011 7:41 AM, magnus.b at inputinterior.se wrote:
>>> Hi!
>>>
>>> Guess I am doing something totally wrong here: Some smart person could
>>> maybe plz tell me what.
>>>
>>>  From AMI, I set a variable Action: Setvar\r\nVariable:x\r\n\Value:
>>> 5\r\n\r\n
>>>
>>>  From dialplan i can “access” the variable “x” and see the value “5”
>>>  From dialplan i modify “x” to “8”.
>>>
>>> But from AMI i still se “x” as “5” not “8”.
>>>
>>> /Magnus
>> Maybe you need to perform a GetVar to read the new value of that channel
>> variable
>>



More information about the asterisk-users mailing list