From 8b447d9063f4bcb88a7f3a941640d54571328e63 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher <tilghman@meg.abyt.es> Date: Thu, 5 Nov 2009 21:24:21 +0000 Subject: [PATCH] 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 --- apps/app_meetme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index dedb7d14b2..d3c317bc05 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -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; -- GitLab