summaryrefslogtreecommitdiff
path: root/res/res_pjsip_mwi.c
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2015-01-07 18:14:23 +0000
committerGeorge Joseph <george.joseph@fairview5.com>2015-01-07 18:14:23 +0000
commit13ed8f73edbe95c0455a09d7dcc05d7da8aa4643 (patch)
treef7851d7144c7b134fcbe6306d6873e379537780e /res/res_pjsip_mwi.c
parent42e4cb7174225c33cbc18479eb4b99fa6896d478 (diff)
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/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_mwi.c')
-rw-r--r--res/res_pjsip_mwi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_mwi.c b/res/res_pjsip_mwi.c
index dac8a96ea..8a6165991 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;
}