mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Merged revisions 138476 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r138476 | seanbright | 2008-08-17 09:40:36 -0400 (Sun, 17 Aug 2008) | 7 lines Add missing colons to RTCPReceived and RTCPSent manager events. (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/branches/1.6.0@138477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1192,7 +1192,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp)
|
||||
ast_verbose(" RTT: %lu(sec)\n", (unsigned long) rtt);
|
||||
}
|
||||
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"
|
||||
@@ -1217,7 +1217,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"
|
||||
@@ -2821,7 +2821,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"
|
||||
|
Reference in New Issue
Block a user