# Asterisk Project : Asterisk 13 ManagerEvent_RTCPReceived

Created by wikibot on Aug 08, 2014

# RTCPReceived

### Synopsis

Raised when an RTCP packet is received.

### Description

### Syntax

    Event: RTCPReceived
    Channel: <value>
    ChannelState: <value>
    ChannelStateDesc: <value>
    CallerIDNum: <value>
    CallerIDName: <value>
    ConnectedLineNum: <value>
    ConnectedLineName: <value>
    AccountCode: <value>
    Context: <value>
    Exten: <value>
    Priority: <value>
    Uniqueid: <value>
    SSRC: <value>
    PT: <value>
    From: <value>
    RTT: <value>
    ReportCount: <value>
    [SentNTP:] <value>
    [SentRTP:] <value>
    [SentPackets:] <value>
    [SentOctets:] <value>
    ReportXSourceSSRC: <value>
    ReportXFractionLost: <value>
    ReportXCumulativeLost: <value>
    ReportXHighestSequence: <value>
    ReportXSequenceNumberCycles: <value>
    ReportXIAJitter: <value>
    ReportXLSR: <value>
    ReportXDLSR: <value>

##### Arguments

- `Channel`
- `ChannelState` - A numeric code for the channel's current state, related to ChannelStateDesc
- `ChannelStateDesc`
  - `Down`
  - `Rsrvd`
  - `OffHook`
  - `Dialing`
  - `Ring`
  - `Ringing`
  - `Up`
  - `Busy`
  - `Dialing Offhook`
  - `Pre-ring`
  - `Unknown`
- `CallerIDNum`
- `CallerIDName`
- `ConnectedLineNum`
- `ConnectedLineName`
- `AccountCode`
- `Context`
- `Exten`
- `Priority`
- `Uniqueid`
- `SSRC` - The SSRC identifier for the remote system
- `PT` - The type of packet for this RTCP report.
  - `200(SR)`
  - `201(RR)`
- `From` - The address the report was received from.
- `RTT` - Calculated Round-Trip Time in seconds
- `ReportCount` - The number of reports that were received.
  The report count determines the number of ReportX headers in the message. The X for each set of report headers will range from 0 to `ReportCount - 1`.
- `SentNTP` - The time the sender generated the report. Only valid when PT is `200(SR)`.
- `SentRTP` - The sender's last RTP timestamp. Only valid when PT is `200(SR)`.
- `SentPackets` - The number of packets the sender has sent. Only valid when PT is `200(SR)`.
- `SentOctets` - The number of bytes the sender has sent. Only valid when PT is `200(SR)`.
- `ReportXSourceSSRC` - The SSRC for the source of this report block.
- `ReportXFractionLost` - The fraction of RTP data packets from `ReportXSourceSSRC` lost since the previous SR or RR report was sent.
- `ReportXCumulativeLost` - The total number of RTP data packets from `ReportXSourceSSRC` lost since the beginning of reception.
- `ReportXHighestSequence` - The highest sequence number received in an RTP data packet from `ReportXSourceSSRC`.
- `ReportXSequenceNumberCycles` - The number of sequence number cycles seen for the RTP data received from `ReportXSourceSSRC`.
- `ReportXIAJitter` - An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
- `ReportXLSR` - The last SR timestamp received from `ReportXSourceSSRC`. If no SR has been received from `ReportXSourceSSRC`, then 0.
- `ReportXDLSR` - The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from `ReportXSourceSSRC` and sending this report.

### Class

REPORTING

### See Also

### Import Version

This documentation was imported from Asterisk Version SVN-branch-13-r420538