From: Michael Cargile Date: Thu, 16 Jul 2015 14:13:10 +0000 (-0400) Subject: res/res_musiconhold: Add a warning when MOH does not exist X-Git-Tag: 11.19.0-rc1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F933%2F1;p=thirdparty%2Fasterisk.git res/res_musiconhold: Add a warning when MOH does not exist Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b --- diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index dbf2c60568..91724734e2 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -893,7 +893,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;