diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-01-06 17:53:42 +0000 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-01-06 17:53:42 +0000 |
commit | 8b5bde3e5ac4e3a56c30a077e276656317c84a68 (patch) | |
tree | 0870ad071b60fa647a66fd5b8fe9e6ade7a5d5d2 /res/res_pjsip_mwi.c | |
parent | 5f60ebc004759672d0f41122f1af1b676a187b2a (diff) |
res_pjsip_mwi: Change warning to notice
When res_pjsip loads and an endpoint auto-subscribes a mailbox for mwi,
if a contact hasn't registered yet, res_pjsip_mwi spits out a warning.
This is a perfectly normal situation though and doesn't require something
as serious as a warning. It's also self correcting. The device will start
getting mwi as soon as it registers.
This patch changes the warning to a notice.
Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4314/
........
Merged revisions 430227 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_mwi.c')
-rw-r--r-- | res/res_pjsip_mwi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_mwi.c b/res/res_pjsip_mwi.c index bf0925dd4..dac8a96ea 100644 --- a/res/res_pjsip_mwi.c +++ b/res/res_pjsip_mwi.c @@ -424,7 +424,7 @@ static void send_unsolicited_mwi_notify(struct mwi_subscription *sub, contacts = ast_sip_location_retrieve_aor_contacts(aor); if (!contacts || (ao2_container_count(contacts) == 0)) { - ast_log(LOG_WARNING, "No contacts bound to AOR %s. Cannot send unsolicited MWI.\n", aor_name); + ast_log(LOG_NOTICE, "No contacts bound to AOR %s. Cannot send unsolicited MWI until a contact registers.\n", aor_name); continue; } |