[asterisk-users] Variable. AMI and dialplan
magnus.b at inputinterior.se
magnus.b at inputinterior.se
Mon Mar 28 08:18:43 CDT 2011
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