[Asterisk-code-review] res/res musiconhold: Add a warning when MOH does not exist (asterisk[11])

Matt Jordan asteriskteam at digium.com
Sun Jul 19 09:54:20 CDT 2015


Matt Jordan has uploaded a new change for review.

  https://gerrit.asterisk.org/933

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/33/933/1

diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index dbf2c60..9172473 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -893,7 +893,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/933
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
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