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:54:24 -0500 |
commit | a23adcca3d747f14590ddf7860f72418a4475866 (patch) | |
tree | 8aedb885b005d0694afc385d4ab8cd165ea5b68c /res/res_musiconhold.c | |
parent | 03064daeb2bc78339400b0c05f657032a3e27011 (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 cbeaab535..2ac5081b9 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 #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; |