mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
MEETME_INFO should not return a literal error message to the dialplan.
(closes issue #15450) Reported by: JimVanM Patches: meetmeinfopatch.diff.txt uploaded by dbrooks (license 790) Tested by: JimVanM git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6450,7 +6450,8 @@ static int acf_meetme_info(struct ast_channel *chan, const char *cmd, char *data
|
||||
} else if (result == -1) {
|
||||
snprintf(buf, len, "%s %s", "Error: invalid keyword:", args.keyword);
|
||||
} else if (result == -2) {
|
||||
snprintf(buf, len, "Error: conference (%s) not found", args.confno);
|
||||
ast_log(LOG_NOTICE, "Error: conference (%s) not found\n", args.confno);
|
||||
snprintf(buf, len, "0");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user