These variables live in the channel Asterisk creates when you pickup a phone and as such they are both local and temporary. Variables created in one channel can not be accessed by another channel. When you hang up the phone, the channel is deleted and any variables in that channel are deleted as well.
Just like get variable, this works for writing to functions too.
Returns:
200 result=1
NOTE: currently (*version<= 1.2.11) the value cannot contain spaces. Putting quotes or double quotes around the value won't work. Workaround is to change spaces to e.g. underscores. In unix sh this would be something like : echo "part1 part2" | tr ' ' '_'
Using Asterisk Version 1.12.1 you should use the escape characters to set the variable correct. Something like: "SET VARIABLE TEST \"hello again\" \n");
Go back to Asterisk AGI
Page Changes
blank variables
var length