]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use LOG_DEBUG to print out the indication that app_amd is using default settings...
authorJoshua Colp <jcolp@digium.com>
Tue, 14 Nov 2006 16:45:57 +0000 (16:45 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 14 Nov 2006 16:45:57 +0000 (16:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47617 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_amd.c

index 21e9b90faf0c1eb75eee2194f68be3867403d88d..e5dee1efc528fa7c8341846ff153e12ffe95be44 100644 (file)
@@ -151,8 +151,8 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data)
                        maximumNumberOfWords = atoi(args.argMaximumNumberOfWords);
                if (!ast_strlen_zero(args.argSilenceThreshold))
                        silenceThreshold = atoi(args.argSilenceThreshold);
-       } else
-               ast_log(LOG_NOTICE, "AMD using the default parameters.\n");
+       } else if (option_debug)
+               ast_log(LOG_DEBUG, "AMD using the default parameters.\n");
 
        /* Now we're ready to roll! */
        if (option_verbose > 2)