[asterisk-commits] seanbright: branch 1.4 r315989 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 27 15:54:36 CDT 2011


Author: seanbright
Date: Wed Apr 27 15:54:29 2011
New Revision: 315989

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=315989
Log:
Partial revert of r315671 which removed a logging statement and not a manager event.

Reported by ibercom in #asterisk-bugs.

(issue #16033)

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=315989&r1=315988&r2=315989
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Apr 27 15:54:29 2011
@@ -9101,7 +9101,9 @@
 
 		expire_register(ASTOBJ_REF(peer));
 
-		manager_event(EVENT_FLAG_SYSTEM, "PeerStatus", "Peer: SIP/%s\r\nPeerStatus: Unregistered\r\n", peer->name);
+		if (option_verbose > 2)
+			ast_verbose(VERBOSE_PREFIX_3 "Unregistered SIP '%s'\n", peer->name);
+
 		return PARSE_REGISTER_UPDATE;
 	}
 




More information about the asterisk-commits mailing list