[asterisk-users] Variable. AMI and dialplan

magnus.b at inputinterior.se magnus.b at inputinterior.se
Mon Mar 28 10:29:09 CDT 2011


Could be, do u think its a bug or do u think I am doing totally wrong?
I can easily reproduce it if any needs more info.

-----Ursprungligt meddelande----- 
From: Sebastian
Sent: Monday, March 28, 2011 3:57 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Variable. AMI and dialplan

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
>>

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 




More information about the asterisk-users mailing list