diff options
author | Michael Cargile <mikec@vicidial.com> | 2015-07-16 10:13:10 -0400 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2015-07-19 09:52:31 -0500 |
commit | 8b503f2a10abeaa55a2ade9b7a2d07cc86c78b4c (patch) | |
tree | c97455b694e1c9320b320db956621eba891c582a /res/res_musiconhold.c | |
parent | 7908ae49347919f4a9ecc4089a56f516c5562f5a (diff) |
res/res_musiconhold: Add a warning when MOH does not exist
Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r-- | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index eaf1f4ea8..bf7635ea2 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; |