Set Variable
Sets the value of a Variable.
Many Action Scripts (e.g. Gosub If) rely on the value of Variables to control the flow of a call.
Variable Name
The name of the Variable.
Variable Type
Indicates the Type of the Variable.
Route
The standard Routes Variable type that most Action Scripts require to operate. These variables cease to exist when the call stops and are not accessible by other calls.
Channel
The Variable is to be attached to the underlying phone system and is for use in advanced applications. These variables cease to exist when the call stops and are not accessible by other calls.
System
The Variable is stored in a database. System variables are global, visible to all other call and continue to exist indefinitely.
Value Source
Controls how the contents of the 'Value' field are interpreted.
Literal
The contents are taken as is and stored into the Variable.
Route
The contents of the Value are interpreted as the name of a Route Variable and the Route Variables value is copied to this Variable.
Channel
The contents of the Value are interpreted as the name of a Channel Variable and the Channel Variables value is copied to this Variable.
System
The contents of the Value are interpreted as the name of a System Variable and the System Variables value is copied to this Variable.
Value
The value the Variable is to be set to. How this field is interpreted is dependent on the Value Source Type.