Skip to content

GET FULL VARIABLE

Synopsis

Evaluates a channel expression

Description

Evaluates the given expression against the channel specified by channelname, or the current channel if channelname is not provided.

Unlike GET VARIABLE, the expression is processed in a manner similar to dialplan evaluation, allowing complex and built-in variables to be accessed, e.g. 'The time is ${EPOCH}'

Returns '0' if no channel matching channelname exists, '1' otherwise.

Example return code: 200 result=1 (The time is 1578493800)

Syntax

GET FULL VARIABLE EXPRESSION CHANNELNAME 
Arguments
  • expression

  • channelname

See Also

Generated Version

This documentation was generated from Asterisk branch 21 using version GIT