Session setVariable

From FreeSWITCH Wiki
Jump to: navigation, search

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