mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-22 05:06:38 +00:00
res/res_musiconhold: Add a warning when MOH does not exist
Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
This commit is contained in:
committed by
Matt Jordan
parent
7908ae4934
commit
8b503f2a10
@@ -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;
|
||||
|
Reference in New Issue
Block a user