Change warning message to debug message.
authorLeif Madsen <leif@leifmadsen.com>
Tue, 3 Nov 2009 19:48:53 +0000 (19:48 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Tue, 3 Nov 2009 19:48:53 +0000 (19:48 +0000)
app_controlplayback outputs a warning, when in fact it is normal.

(closes issue #16071)
Reported by: atis
Patches:
      controlplayback_warning.patch uploaded by atis (license 242)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227368 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_controlplayback.c

index 1d6dcec..bbeea30 100644 (file)
@@ -175,7 +175,7 @@ static int controlplayback_exec(struct ast_channel *chan, const char *data)
                else
                        args.rev = NULL;
        }
-       ast_log(LOG_WARNING, "args.fwd = %s, args.rew = %s\n", args.fwd, args.rev);
+       ast_debug(1, "Forward key = %s, Rewind key = %s\n", args.fwd, args.rev);
        if (args.stop && !is_on_phonepad(*args.stop))
                args.stop = NULL;
        if (args.pause && !is_on_phonepad(*args.pause))