[asterisk-commits] gtjoseph: branch 13 r430227 - /branches/13/res/res_pjsip_mwi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 6 11:52:45 CST 2015


Author: gtjoseph
Date: Tue Jan  6 11:52:41 2015
New Revision: 430227

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=430227
Log:
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/


Modified:
    branches/13/res/res_pjsip_mwi.c

Modified: branches/13/res/res_pjsip_mwi.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_mwi.c?view=diff&rev=430227&r1=430226&r2=430227
==============================================================================
--- branches/13/res/res_pjsip_mwi.c (original)
+++ branches/13/res/res_pjsip_mwi.c Tue Jan  6 11:52:41 2015
@@ -424,7 +424,7 @@
 
 		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;
 		}
 




More information about the asterisk-commits mailing list