This page last changed on Mar 30, 2011 by wikibot.

GosubIf()

Synopsis

Conditionally jump to label, saving return address.

Description

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

GosubIf(condition?[labeliftrue][:labeliffalse])
Arguments
  • condition
  • destination
    • labeliftrue
    • labeliffalse

See Also

Application_Gosub
Application_Return
Application_MacroIf
Function_IF
Application_GotoIf

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42