]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fixes missing colon from To/From headers in RTCP manager events.
authorDavid Vossel <dvossel@digium.com>
Fri, 6 May 2011 21:06:55 +0000 (21:06 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 6 May 2011 21:06:55 +0000 (21:06 +0000)
(closes issue #18221)
Reported by: clegall_proformatique
Patches:
      18221_1.patch uploaded by ebroad (license 878)

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

res/res_rtp_asterisk.c

index 72032de60e1b599c730345c6f4e9b49e2f5fede3..9dc0a7648a2e9bc203c506dd7590a1be69361339 100644 (file)
@@ -985,7 +985,7 @@ static int ast_rtcp_write_sr(struct ast_rtp_instance *instance)
                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 @@ static struct ast_frame *ast_rtcp_read(struct ast_rtp_instance *instance)
                                        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 @@ static struct ast_frame *ast_rtcp_read(struct ast_rtp_instance *instance)
                                              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"