Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 Variable

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.

Asterisk Variable

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 Variable

The Variable is stored in a database. System variables are global, visible to all other calls and continue to exist indefinitely.

Value Type

Controls how the contents of the 'Value' field are interpreted.

Literal

The contents are taken as is and stored into the Variable.

Route Variable

The contents of the Value are interpreted as the name of a Route Variable and the Route Variables value is copied to this Variable.

Asterisk Variable

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 Variable

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



  • No labels