Yet another error message in the dialplan (thanks, rmudgett/russellb)
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 5 Nov 2009 22:12:45 +0000 (22:12 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 5 Nov 2009 22:12:45 +0000 (22:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228196 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index d3c317b..0f9299b 100644 (file)
@@ -6448,7 +6448,8 @@ static int acf_meetme_info(struct ast_channel *chan, const char *cmd, char *data
        if (result > -1) {
                snprintf(buf, len, "%d", result);
        } else if (result == -1) {
-               snprintf(buf, len, "%s %s", "Error: invalid keyword:", args.keyword);
+               ast_log(LOG_NOTICE, "Error: invalid keyword: '%s'\n", args.keyword);
+               snprintf(buf, len, "0");
        } else if (result == -2) {
                ast_log(LOG_NOTICE, "Error: conference (%s) not found\n", args.confno); 
                snprintf(buf, len, "0");