Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

sb.append("<h1>Set Variable</h1>");

...

Set Variable

Sets the value of a Variable.<br>");        sb.append(


                "Many Action Scripts (e.g. Gosub If) rely on the value of Variables to control the flow of a call.<br><br>");

        sb.append("<h2>Variable Name</h2>");

        sb.append("

Variable Name

The name of the Variable.<br><br>");

        sb.append("<h2>Variable Type</h2>");

        sb.append("

Variable Type

Indicates the Type of the Variable.<br><br>");

        sb.append("<h3>Route</h3>");

        sb.append(

                "

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.<br><br>");

        sb.append("<h3>Channel</h3>");

        sb.append(

                "

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.<br><br>");

        sb.append("<h3>System</h3>");

        sb.append(

                "

System


The Variable is stored in a database. System variables are global, visible to all other call and continue to exist indefinitely.<br><br>");

        sb.append("<h2>Value Source</h3>");

        sb.append("

Value Source

Controls how the contents of the 'Value' field are interepretedinterpreted.<br><br>");

        sb.append("<h3>Literal</h3>");

        sb.append("

Literal

The contents are taken as is and stored into the Variable.<br><br>");

        sb.append("<h3>Route</h3>");

        sb.append(

                "

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.<br><br>");

        sb.append("<h3>Channel</h3>");

        sb.append(

                "

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.<br><br>");

        sb.append("<h3>System</h3>");

        sb.append(

                "

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.<br><br>");

        sb.append("<h2>Value</h2>");

        sb.append(

                "

Value


The value the Variable is to be set to. How this field is interpreted is dependant dependent on the Value Source Type.<br>");