Viewing Active Audio and Video Call Statistics
The show sessions and show sipd codec CLI commands identify and display media processing statistics, such as the aggregate call count for active audio and video calls, and codec information per call.
show sessions
The show sessions command displays the statistics for SIP, H.323 and IWF along with the cumulative SIP audio and video call counters for the active calls. The system uses the following assumptions and interpretations of the calls to have separate counters for audio and video calls:
- The system determines the type of call, whether audio or video, by checking the m-line for media-type and a valid media-port. When the SDP uses only one m-line with media-type 'video' and media-port > 0, the system increments the video call count. Same logic applies for audio calls.
- The system considers
multiple m lines for same media-type as a single call and increments the call
by one.
ORACLE# show sessions 01:47:46-189 Capacity=84000 Session Statistics -- Period -- -------- Lifetime -------- Active High Total Total PerMax High Established Tunnel 1 1 1 1 1 1 Total Sessions 1 1 1 1 1 1 SIP Sessions 0 0 0 0 0 0 H.323 Calls 0 0 0 0 0 0 H.248 ALG Contexts 0 0 0 0 0 0 IWF Statistics -- Period -- -------- Lifetime -------- Active High Total Total PerMax High H.323-to-SIP Calls 0 0 0 0 0 0 SIP-to-H.323 Calls 0 0 0 0 0 0 SIP Audio/Video Statistics -- Period -- -------- Lifetime -------- Active High Total Total PerMax High Audio Calls 1 1 1 1 1 1 Video Calls 1 1 1 1 1 1
- When the system renegotiates SDP during the call, the call counters reflect the active SDP m-lines.
- Initial offer and answer SDP:
Offer | Answer |
---|---|
OFFER: m=audio 10000 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 m=audio 0 RTP/AVP 0 |
ANSWER: m=audio 10000 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 m=audio 0 RTP/AVP 0 |
The following is an example of the show sessions output command.
ORACLE# show sessions
01:47:46-189 Capacity=84000
Session Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
Established Tunnel 1 1 1 1 1 1
Total Sessions 1 1 1 1 1 1
SIP Sessions 0 0 0 0 0 0
H.323 Calls 0 0 0 0 0 0
H.248 ALG Contexts 0 0 0 0 0 0
IWF Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
H.323-to-SIP Calls 0 0 0 0 0 0
SIP-to-H.323 Calls 0 0 0 0 0 0
SIP Audio/Video Statistic -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
Audio Calls 1 1 1 1 1 1
Video Calls 0 0 0 0 0 0
- Renegotiated offer answer SDP (with audio and video):
Offer | Answer |
---|---|
OFFER: m=audio 10000 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 m=audio 0 RTP/AVP 0 |
ANSWER: m=audio 10000 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 m=audio 0 RTP/AVP 0 |
The following is an example of the show sessions output command.
ORACLE# show sessions
01:47:46-189 Capacity=84000
Session Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
Established Tunnel 1 1 1 1 1 1
Total Sessions 1 1 1 1 1 1
SIP Sessions 0 0 0 0 0 0
H.323 Calls 0 0 0 0 0 0
H.248 ALG Contexts 0 0 0 0 0 0
IWF Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
H.323-to-SIP Calls 0 0 0 0 0 0
SIP-to-H.323 Calls 0 0 0 0 0 0
SIP Audio/Video Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
Audio Calls 1 1 1 1 1 1
Video Calls 1 1 1 1 1 1
- Renegotiated offer answer SDP (with audio only):
Offer | Answer |
---|---|
OFFER: m=video 0 RTP/AVP 98 a=rtpmap:98 H264/90000 m=audio 6000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 |
ANSWER: m=video 0 RTP/AVP 98 a=rtpmap:98 H264/90000 m=audio 6000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 |
The following is an example of the show sessions output command.
ORACLE# show sessions
01:47:46-189 Capacity=84000
Session Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
Established Tunnel 1 1 1 1 1 1
Total Sessions 1 1 1 1 1 1
SIP Sessions 0 0 0 0 0 0
H.323 Calls 0 0 0 0 0 0
H.248 ALG Contexts 0 0 0 0 0 0
IWF Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
H.323-to-SIP Calls 0 0 0 0 0 0
SIP-to-H.323 Calls 0 0 0 0 0 0
SIP Audio/Video Statistics -- Period -- -------- Lifetime --------
Active High Total Total PerMax High
Audio Calls 1 1 1 1 1 1
Video Calls 0 1 1 1 1 1
show sipd codec
The show sipd codec command displays the media-processing statistics per SIP traffic. Note that the show sipd codec command displays the statistics per realm and requires a realm argument. The system displays the statistics of the active video sessions in the rows: H.261 Count, H.263 count, H.264 Count.
show sipd codec <realm-name> 07:11:28-45 Realm peer Codec Statistics ---- Recent ---- -------- Lifetime -------- Active High Total Total PerMax High Transcoded 0 0 0 0 0 0 Transrated 0 0 0 0 0 0 Transparent 0 0 0 0 0 0 PCMU Count 0 0 0 0 0 0 PCMA Count 0 0 0 0 0 0 G722 Count 0 0 0 0 0 0 G723 Count 0 0 0 0 0 0 G726-16 Count 0 0 0 0 0 0 G726-24 Count 0 0 0 0 0 0 G726-32 Count 0 0 0 0 0 0 G726-40 Count 0 0 0 0 0 0 G728 Count 0 0 0 0 0 0 G729 Count 0 0 0 0 0 0 GSM Count 0 0 0 0 0 0 iLBC Count 0 0 0 0 0 0 H261 Count 0 0 0 0 0 0 H263 Count 0 0 0 0 0 0 H264 Count 0 0 0 0 0 0 T38 Count 0 0 0 0 0 0 AMR Count 0 0 0 0 0 0 AMR-WB Count 0 0 0 0 0 0 EVRC Count 0 0 0 0 0 0 EVRC0 Count 0 0 0 0 0 0 EVRC1 Count 0 0 0 0 0 0 EVRCB Count 0 0 0 0 0 0 EVRCB0 Count 0 0 0 0 0 0 EVRCB1 Count 0 0 0 0 0 0 opus Count 0 0 0 0 0 0 SILK Count 0 0 0 0 0 0 T140 Count 0 0 0 0 0 0 BAUDOT Count 0 0 0 0 0 0 H264 Count 0 0 0 0 0 0 EVS Count 0 0 0 0 0 0 Other Count 0 0 0 0 0 0