[asterisk-users] Variable. AMI and dialplan
Sherwood McGowan
sherwood.mcgowan at gmail.com
Mon Mar 28 08:20:39 CDT 2011
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
>
--
Sherwood McGowan <sherwood.mcgowan at gmail.com>
Carrier, ITSP, Call Center, and PBX Solutions Consultant
More information about the asterisk-users
mailing list