[svn-commits] mmichelson: trunk r124243 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 20 10:20:11 CDT 2008


Author: mmichelson
Date: Fri Jun 20 10:20:11 2008
New Revision: 124243

URL: http://svn.digium.com/view/asterisk?view=rev&rev=124243
Log:
Add a missing "ChannelType" header to one of the "PeerStatus" manager
events in chan_sip

(closes issue #12904)
Reported by: eliel
Patches:
      chan_sip.c.patch uploaded by eliel (license 64)


Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=124243&r1=124242&r2=124243
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jun 20 10:20:11 2008
@@ -10354,7 +10354,7 @@
 		peer->lastms = 0;
 
 		ast_verb(3, "Unregistered SIP '%s'\n", peer->name);
-			manager_event(EVENT_FLAG_SYSTEM, "PeerStatus", "Peer: SIP/%s\r\nPeerStatus: Unregistered\r\n", peer->name);
+			manager_event(EVENT_FLAG_SYSTEM, "PeerStatus", "ChannelType: SIP\r\nPeer: SIP/%s\r\nPeerStatus: Unregistered\r\n", peer->name);
 		return PARSE_REGISTER_UPDATE;
 	}
 




More information about the svn-commits mailing list