Skip to content

VARIABLE_EXISTS()

Synopsis

Check if a dialplan variable exists or not.

Since

18.21.0, 20.6.0, 21.1.0

Description

Returns '1' if channel variable exists or '0' otherwise.

Syntax

VARIABLE_EXISTS(varname)
Arguments
  • varname - Channel variable name

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT