Asterisk Project : Asterisk 11 Application_GosubIf This page last changed on Jul 20, 2012 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(conditionlabeliftrue:labeliffalse)
##### Arguments `condition` `destination` `labeliftrue` - Continue at labeliftrue if the condition is true. Takes the form similar to Goto() of [context,extension,]priority. `arg1` `argN` `labeliffalse` - Continue at labeliffalse if the condition is false. Takes the form similar to Goto() of [context,extension,]priority. `arg1` `argN` ### See Also Asterisk 11 Application_Gosub Asterisk 11 Application_Return Asterisk 11 Application_MacroIf Asterisk 11 Function_IF Asterisk 11 Application_GotoIf Asterisk 11 Application_Goto ### Import Version This documentation was imported from Asterisk Version SVN-trunk-r370328

Document generated by Confluence on Nov 02, 2012 17:42