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

This commit is contained in:
Matt Jordan 2015-07-19 10:57:59 -05:00 committed by Gerrit Code Review
commit 0047ca8c84
1 changed files with 1 additions and 1 deletions

View File

@ -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;