[Asterisk-code-review] res/res musiconhold: Add a warning when MOH does not exist (asterisk[13])
Matt Jordan
asteriskteam at digium.com
Sun Jul 19 09:54:24 CDT 2015
Matt Jordan has uploaded a new change for review.
https://gerrit.asterisk.org/934
Change subject: res/res_musiconhold: Add a warning when MOH does not exist
......................................................................
res/res_musiconhold: Add a warning when MOH does not exist
Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
---
M res/res_musiconhold.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/34/934/1
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index cbeaab5..2ac5081 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -881,7 +881,7 @@
#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;
--
To view, visit https://gerrit.asterisk.org/934
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Michael Cargile <mikec at vicidial.com>
More information about the asterisk-code-review
mailing list