Skip to content

GET VARIABLE

Synopsis

Gets a channel variable.

Description

Returns '0' if variablename is not set. Returns '1' if variablename is set and returns the variable in parentheses.

Example return code: 200 result=1 (testvariable)

Syntax

GET VARIABLE VARIABLENAME 
Arguments
  • variablename

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT