From 3891072eca4412c9c587de54ef5c4e590a288155 Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 5 Nov 2009 21:27:00 +0000 Subject: Merged revisions 228191 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r228191 | tilghman | 2009-11-05 15:24:21 -0600 (Thu, 05 Nov 2009) | 7 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.2@228194 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_meetme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 40624c6a4..a0d8e2b31 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -6373,7 +6373,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; -- cgit v1.2.3