MacroIf()
MacroIf(Ausdruck
?MacronameA
[,argA1
][:MacronameB
[,argB1
]])
GotoIf()
ausschlaggebend ist.————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= 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()
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,7 +4,7 @@
Conditional Macro Implementation
[Description]
- MacroIf(<expr>?macroname_a[|arg1][:macroname_b[|arg1]])
+ 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()
+ Arguments and return values as in application Macro()