]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res/res_musiconhold: Add a warning when MOH does not exist 34/934/1
authorMichael Cargile <mikec@vicidial.com>
Thu, 16 Jul 2015 14:13:10 +0000 (10:13 -0400)
committerMatt Jordan <mjordan@digium.com>
Sun, 19 Jul 2015 14:54:24 +0000 (09:54 -0500)
Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b

res/res_musiconhold.c

index cbeaab535ce224419723b799429df5fdc6e8495c..2ac5081b9fc9a764880d544784a3274235f135e3 100644 (file)
@@ -881,7 +881,7 @@ static struct mohclass *_get_mohbyname(const char *name, int warn, int flags, co
 #endif
 
        if (!moh && warn) {
-               ast_debug(1, "Music on Hold class '%s' not found in memory\n", name);
+               ast_log(LOG_WARNING, "Music on Hold class '%s' not found in memory. Verify your configuration.\n", name);
        }
 
        return moh;