Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to GIT-19-6645cf8

...

If the condition is true, then jump to labeliftrue. If false, jumps to labeliffalse, if specified. In either case, a jump saves the return point in the dialplan, to be returned to with a Return.

Syntax

No Format
GosubIf(condcondition?[labeliftrue:[labeliffalse]])
Arguments
  • condcondition
  • destination
    • labeliftrue( params ) - Continue at labeliftrue if the condition is true. Takes the form similar to Goto() of [[context,]extension,]priority.
      • arg1[arg1...]
      • argN
    • labeliffalse( params ) - Continue at labeliffalse if the condition is false. Takes the form similar to Goto() of [[context,]extension,]priority.
      • arg1[arg1...]
      • argN

...

This documentation was imported from Asterisk Version GIT-19-56f9c28a506645cf8