[asterisk-commits] dvossel: branch 1.8 r317918 - /branches/1.8/res/res_rtp_asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 6 16:06:59 CDT 2011


Author: dvossel
Date: Fri May  6 16:06:55 2011
New Revision: 317918

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317918
Log:
Fixes missing colon from To/From headers in RTCP manager events.

(closes issue #18221)
Reported by: clegall_proformatique
Patches:
      18221_1.patch uploaded by ebroad (license 878)

Modified:
    branches/1.8/res/res_rtp_asterisk.c

Modified: branches/1.8/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_rtp_asterisk.c?view=diff&rev=317918&r1=317917&r2=317918
==============================================================================
--- branches/1.8/res/res_rtp_asterisk.c (original)
+++ branches/1.8/res/res_rtp_asterisk.c Fri May  6 16:06:55 2011
@@ -985,7 +985,7 @@
 		ast_verbose("  Their last SR: %u\n", rtp->rtcp->themrxlsr);
 		ast_verbose("  DLSR: %4.4f (sec)\n\n", (double)(ntohl(rtcpheader[12])/65536.0));
 	}
-	manager_event(EVENT_FLAG_REPORTING, "RTCPSent", "To %s\r\n"
+	manager_event(EVENT_FLAG_REPORTING, "RTCPSent", "To: %s\r\n"
 					    "OurSSRC: %u\r\n"
 					    "SentNTP: %u.%010u\r\n"
 					    "SentRTP: %u\r\n"
@@ -1823,7 +1823,7 @@
 					ast_verbose("  RTT: %lu(sec)\n", (unsigned long) rtt);
 			}
 			if (rtt) {
-				manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From %s\r\n"
+				manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From: %s\r\n"
 								    "PT: %d(%s)\r\n"
 								    "ReceptionReports: %d\r\n"
 								    "SenderSSRC: %u\r\n"
@@ -1848,7 +1848,7 @@
 					      ntohl(rtcpheader[i + 5])/65536.0,
 					      (unsigned long long)rtt);
 			} else {
-				manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From %s\r\n"
+				manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From: %s\r\n"
 								    "PT: %d(%s)\r\n"
 								    "ReceptionReports: %d\r\n"
 								    "SenderSSRC: %u\r\n"




More information about the asterisk-commits mailing list