]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
MEETME_INFO should not return a literal error message to the dialplan.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 5 Nov 2009 21:24:21 +0000 (21:24 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 5 Nov 2009 21:24:21 +0000 (21:24 +0000)
(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

index dedb7d14b27676486b679fb42323fb976425e3d8..d3c317bc05b24a38aa61076226429c16c9642215 100644 (file)
@@ -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;