[Asterisk-code-review] Added a warning when MOH does not exist (asterisk[master])
Michael Cargile
asteriskteam at digium.com
Thu Jul 16 09:16:39 CDT 2015
Michael Cargile has uploaded a new change for review.
https://gerrit.asterisk.org/902
Change subject: Added a warning when MOH does not exist
......................................................................
Added a warning when MOH does not exist
Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
---
M res/res_musiconhold.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/02/902/1
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index eaf1f4e..f030515 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -881,6 +881,7 @@
"get_mohbyname", file, lineno, funcname);
if (!moh && warn) {
+ ast_log(LOG_WARNING, "Music on Hold class '%s' not found in memory. Verify your configuration.\n", name);
ast_debug(1, "Music on Hold class '%s' not found in memory\n", name);
}
--
To view, visit https://gerrit.asterisk.org/902
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Michael Cargile <mikec at vicidial.com>
More information about the asterisk-code-review
mailing list