B.61. MacroIf()

Conditionally starts different macros.
MacroIf(expression?macronameA[,argA1][:macronameB[,argB1]])
Calls a macro depending on a condition (defined in the same way as in GotoIf() ).

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'MacroIf' =- 

[Synopsis]
Conditional Macro Implementation

[Description]
  MacroIf(<expr>?macroname_a[|arg1][:macroname_b[|arg1]])
Executes macro defined in <macroname_a> if <expr> is true
(otherwise <macroname_b> if provided)
Arguments and return values as in application macro()
diff output to internal help in Asterisk 1.2:
- none -