Skip to content
Snippets Groups Projects
Commit bd6fd55e authored by Michael Cargile's avatar Michael Cargile Committed by Matt Jordan
Browse files

res/res_musiconhold: Add a warning when MOH does not exist

Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
parent 0433f089
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment