diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-05 21:24:21 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-05 21:24:21 +0000 |
commit | 8b447d9063f4bcb88a7f3a941640d54571328e63 (patch) | |
tree | 4656778f38502f14c3001f3bd320a8772a517dcc /apps/app_meetme.c | |
parent | 6aaa119e84befc2b05bfeff5437f033dbca8d783 (diff) |
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
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index dedb7d14b..d3c317bc0 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; |