====== Media Statistics ======
The media statistics command allows you to estimate the values of the packet loss, jitter, and the Round Trip Time (RTT) statistics based on RFC-3550.
====== Configuration ======
* Enable statistics
voice service voip
media statistics
====== Debug ======
* To display the statistics
show call active voice
show call active voice | i LostPackets
show call active voice | i RoundTripDelay
show call active voice | i PlayDelayJitter
show voip rtp connections
show call history voice last 2 | i RoundTripDelay
show call history voice last 2 | i LostPackets
* Debug LostPackets in the Media Statistics feature.
Router# debug voip rtcp sub-rtcp
VOIP RTCP Subrtcp debugging is on
Oct 16 19:35:26.870: SUBRTCP:tx SR (15.5.34.5-17893)->(15.5.34.158,17795)
rtcp-intv(5002 ms)
Oct 16 19:35:26.870: SUBRTCP Sender Report dump Length - 32:
80 FA 00 07 0F 25 22 05 80 C8 00 05 C8 DE 5D 7E DE C6 2A 6D 00 00 00 00 00 00 00 00
00 00 00 00
Oct 16 19:35:26.878: SUBRTCP:tx SR (15.5.34.5-16991)->(15.5.34.6,18745) rtcp-intv(5005
ms)
Oct 16 19:35:26.878: SUBRTCP Sender Report dump Length - 32:
80 FA 00 07 05 CD 22 05 80 C8 00 05 C8 DE 5D 7E E0 D2 59 C1 00 00 00 00 00 00 00 00
00 00 00 00
* Debug media statistics
Router# debug voip rtp statistics
VOIP RTP Statistics debugging is on
Oct 16 19:38:20.000: RTP[15.5.34.6-0x1B5B2298]: loss(0) jitter(5 ms, 5992 us)
Oct 16 19:38:22.556: RTP[15.5.34.6-0x1B5B2298]: loss(0) jitter(8 ms, 8054 us)