mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
(closes issue #10334)
Reported by: ramonpeek Pass through the return value from macro_exec through the MacroIf application. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@77767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -482,9 +482,9 @@ static int macroif_exec(struct ast_channel *chan, void *data)
|
||||
label_b++;
|
||||
}
|
||||
if (pbx_checkcondition(expr))
|
||||
macro_exec(chan, label_a);
|
||||
res = macro_exec(chan, label_a);
|
||||
else if (label_b)
|
||||
macro_exec(chan, label_b);
|
||||
res = macro_exec(chan, label_b);
|
||||
} else
|
||||
ast_log(LOG_WARNING, "Invalid Syntax.\n");
|
||||
|
||||
|
Reference in New Issue
Block a user