The Reporting End-of-Call Statistics in Session Initiation Protocol (SIP) BYE Message feature enables you to send call statistics
to a remote end when a call terminates. The call statistics are sent as a new header in the BYE message or in the 200 OK message
(response to BYE message). The statistics include Real-time Transport Protocol (RTP) packets sent or received, total bytes
sent or received, total number of packets that are lost, delay jitter, round-trip delay, and call duration.
This feature enables Cisco Unified Border Element (Cisco UBE) to use the call statistics to update the call data records
in Cisco Unified Communications Manager (Cisco UCM) or Cisco Unified Communications Manager Express (Cisco UCME).
The support for Reporting End-of-Call Statistics in SIP BYE Message feature on Cisco Unified Border Element is enabled by
the CLI media bulk-stats under voice service voip .
A new header P-RTP-Stat is added to the BYE and 200 OK messages. The format of P-RTP-Stat is as follows:
P-RTP-Stat: PS=<Packets Sent>, OS=<Octets Sent>, PR=<Packets Recd>, OR=<Octets Recd>, PL=<Packets Lost>, JI=<Jitter>, LA=<Round
Trip Delay in ms>, DU=<Call Duration in seconds>
The table below describes the P-RTP-Stat header.
Table 1. P-RTP-Stat Header Fields
Field
|
Description
|
Range of Values
|
PS
|
Packets Sent
|
0 to 4294967295
|
OS
|
Octets Sent
|
0 to 4294967295
|
PR
|
Packets Received
|
0 to 4294967295
|
OR
|
Octets Received
|
0 to 4294967295
|
PL
|
Packets Lost
|
0 to 4294967295
|
JI
|
Jitter
|
0 to 4294967295
|
LA
|
Round Trip Delay, in milliseconds (ms)
|
-2147483648 to +2147483647
|
DU
|
Call Duration, in seconds
|
0 to 4294967295
|