From 8b503f2a10abeaa55a2ade9b7a2d07cc86c78b4c Mon Sep 17 00:00:00 2001 From: Michael Cargile Date: Thu, 16 Jul 2015 10:13:10 -0400 Subject: [PATCH] res/res_musiconhold: Add a warning when MOH does not exist Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b --- res/res_musiconhold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index eaf1f4ea86..bf7635ea27 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -881,7 +881,7 @@ static struct mohclass *_get_mohbyname(const char *name, int warn, int flags, co "get_mohbyname", file, lineno, funcname); 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;