Skip to main content

Session_getVariable

About

Get Variable on the specified channel.

To get the list of variable name you can use, you can display it using the info app:

<action application="info" />

Click here to expand Table of Contents

Synopsis

getVariable(variable)
  • variable - string containing variable name

Example

Lua:
local caller_id = session:getVariable("caller_id_number")
JavaScript:
var caller_id = session.getVariable("caller_id_number")

See Also