From 8cde7443c25c157dbc97da5bb8d0a549492159e1 Mon Sep 17 00:00:00 2001
From: George Joseph <george.joseph@fairview5.com>
Date: Wed, 7 Jan 2015 18:15:02 +0000
Subject: [PATCH] res_pjsip_mwi: Change "MWI Subscription failed" message from
 warning to notice

The "MWI Subscription failed" message means the client is trying to subscribe
to a mailbox that doesn't exist.  There's no need to clutter up logs with
warnings for a client misconfiguration so I changed it to a notice.

Tested-by: George Joseph

Review: https://reviewboard.asterisk.org/r/4306/
........

Merged revisions 430317 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 res/res_pjsip_mwi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/res_pjsip_mwi.c b/res/res_pjsip_mwi.c
index dac8a96ead..8a61659916 100644
--- a/res/res_pjsip_mwi.c
+++ b/res/res_pjsip_mwi.c
@@ -676,7 +676,7 @@ static int mwi_new_subscribe(struct ast_sip_endpoint *endpoint,
 	}
 
 	if (ast_strlen_zero(aor->mailboxes)) {
-		ast_log(LOG_WARNING, "AOR %s has no configured mailboxes. "
+		ast_log(LOG_NOTICE, "AOR %s has no configured mailboxes. "
 			"MWI subscription failed\n", resource);
 		return 404;
 	}
-- 
GitLab