Add missing colons to RTCPReceived and RTCPSent manager events.
authorSean Bright <sean@malleable.com>
Sun, 17 Aug 2008 13:40:36 +0000 (13:40 +0000)
committerSean Bright <sean@malleable.com>
Sun, 17 Aug 2008 13:40:36 +0000 (13:40 +0000)
(closes issue #13319)
Reported by: srt
Patches:
      13319_rtcp_manager_event_headers.diff uploaded by srt (license 378)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138476 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index bca955d..b4d7734 100644 (file)
@@ -1329,7 +1329,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
                        }
 
                        if (rtt) {
-                               manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From %s:%d\r\n"
+                               manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From: %s:%d\r\n"
                                                                    "PT: %d(%s)\r\n"
                                                                    "ReceptionReports: %d\r\n"
                                                                    "SenderSSRC: %u\r\n"
@@ -1354,7 +1354,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
                                                                    ntohl(rtcpheader[i + 5])/65536.0,
                                                                    (unsigned long long)rtt);
                        } else {
-                               manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From %s:%d\r\n"
+                               manager_event(EVENT_FLAG_REPORTING, "RTCPReceived", "From: %s:%d\r\n"
                                                                    "PT: %d(%s)\r\n"
                                                                    "ReceptionReports: %d\r\n"
                                                                    "SenderSSRC: %u\r\n"
@@ -3296,7 +3296,7 @@ static int ast_rtcp_write_sr(const void *data)
                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:%d\r\n"
+       manager_event(EVENT_FLAG_REPORTING, "RTCPSent", "To: %s:%d\r\n"
                                            "OurSSRC: %u\r\n"
                                            "SentNTP: %u.%010u\r\n"
                                            "SentRTP: %u\r\n"