Asterisk Project : Asterisk 10 Application_MacroIf This page last changed on Oct 14, 2011 by wikibot. # MacroIf() ### Synopsis Conditional Macro implementation. ### Description Executes macro defined in macroiftrue if expr is true (otherwise macroiffalse if provided) Arguments and return values as in application Macro() Use of the application `WaitExten` within a macro will not function as expected. Please use the `Read` application in order to read DTMF from a channel currently executing a macro. ### Syntax
    MacroIf(expr?macroiftrue[:macroiffalse])
##### Arguments `expr` `destination` `macroiftrue` `macroiffalse` ### See Also Asterisk 10 Application_GotoIf Asterisk 10 Application_GosubIf Asterisk 10 Function_IF ### Import Version This documentation was imported from Asterisk version SVN-branch-10-r340810.

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