This page last changed on Oct 14, 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

Asterisk 10 Application_Gosub
Asterisk 10 Application_Return
Asterisk 10 Application_MacroIf
Asterisk 10 Function_IF
Asterisk 10 Application_GotoIf

Import Version

This documentation was imported from Asterisk version SVN-branch-10-r340810.

Document generated by Confluence on Oct 14, 2011 13:24