From FreeSWITCH Wiki
Set Variable on the specified channel
Synopsis
setVariable(variable, value)
- variable - string containing variable name
- value - string containing value to store in variable
Example
session.setVariable("TheVariableName", "This is the value");
See Also
Javascript