RTCP (Real-Time Transport Control Protocol) is a protocol used in conjunction with RTP. The protocol is described in RFC 3550, [1]. RTCP is based on the periodic transfer of control packets to all session participants using the same distribution mechanism as for data packets.
')
RTCP protocol is used to transmit information about the delays and losses of media packets, jitter-buffer, sound signal level. It also transmits the Call Quality Metrics and Echo Return Loss.
Event: RTCPReceived
privilege: reporting, all
sequencenumber: 23177
file: manager.c
line: 1696
func: manager_default_msg_cb
channel: SIP / MainAsterisk-0000113f
channelstate: 6
channelstatedesc: Up
calleridnum: 79914099
calleridname: RC
connectedlinenum: unknown
connectedlinename: unknown
language: ru
context: TO_REGION
exten: 680000130
priority: 1
uniqueid: 1481711487.11714
linkedid: 1481711487.11714
to: Asterisk address: 12611
from: Peer Address: 14555
rtt: 0.0272
ssrc: 0x73f52b22
pt: 200 (sr)
reportcount: 1
sentntp: 1481712636.17532474232832
sentrtp: 9159680
sentpackets: 57246
sentoctets: 9159360
report0sourcessrc: 0x3098e4b3
report0fractionlost: 0
report0cumulativelost: 0
report0highestsequence: 7177
report0sequencenumbercycles: 1
report0iajitter: 3
report0lsr: 2726085614
report0dlsr: 0.0590
channel - the name of the associated channel
from - remote peep IP
rtt - “delay”, more precisely, circular delay
sentpackets - the number of sent packets
sentoctets - number of bytes sent
report0cumulativelost - the number of lost packets from the beginning of the session
- We consider the maximum delay (RTT) on all shoulders and take it as an axiom that the problems with audibility begin at 1000 ms.
- We consider the percentage of losses (maximum) and take for an axiom that at 40 percent the quality of communication is not acceptable.
Total, the calculation of the R-factor may look like this:
R = 100- (MaxRTT / 10 + 2 * MaxLostPackets)
Rating:
80-100% - good sound quality
60-79% - satisfactory
<60% - The sound quality is terrible
Action: Setvar
Channel: The name of the channel for which the R factor was calculated.
Variable: CDR (r-factor)
Value: The value that was calculated
Source: https://habr.com/ru/post/317746/
All Articles