Skip to content

ExecIf()

Synopsis

Executes dialplan application, conditionally.

Description

If expr is true, execute and return the result of appiftrue(args).

If expr is true, but appiftrue is not found, then the application will return a non-zero value.

Syntax

ExecIf(expression?appiftrue:[appiffalse])
Arguments
  • expression

  • execapp

    • appiftrue (*params* ) required

      • args required
    • appiffalse (*params* )

      • args required

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT