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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 19 10:57:54 CDT 2015


Matt Jordan has submitted this change and it was merged.

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(-)

Approvals:
  Anonymous Coward #1000019: Verified
  Matt Jordan: Looks good to me, approved
  Joshua Colp: Looks good to me, but someone else must approve



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: merged
Gerrit-Change-Id: Ifdfbd0b97cf31478d29923ec30aabce28d01740b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list