cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
916
Views
5
Helpful
2
Replies

Room Kit devices - Call Quality reporting

RenzKanwischer
Level 1
Level 1

Hi,

 

I am looking for a way to get call quality of our Video calls reported or alerted. There is a command available on xapi:

xstatus MediaChannels 

which shows everything I need but only during an ongoing call. Any chance to get the Quality data after a call disconnect?


This is how I want to achieve it:
1) Have a Collector Webservice running
2) Register HTTP Feedback Receiver for Event/CallDisconnect

3) Grab Quality data from device with CallID from 2)    <-- This is where I need the call quality saved...

Any Idea or alternative?

 

Thanks
Renz

 

1 Accepted Solution

Accepted Solutions

Magnus Ohm
Cisco Employee
Cisco Employee

Hi

After the call has disconnected the quality stats is stored in the callhistory. You can listen for the callhistory updated event.

 

xFeedback Register /event/callhistory

When a call his hung up you get an event saying "Callhistory Updated". When that is picked up, run:

xcommand CallHistory Get Limit: 1 DetailLevel: full

Then you get the full output of that call which also includes: 

*r CallHistoryGetResult Entry 0 Video Incoming PacketLoss: "0/0"
*r CallHistoryGetResult Entry 0 Video Incoming PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Video Incoming MaxJitter: 0
*r CallHistoryGetResult Entry 0 Video Outgoing PacketLoss: "0/0"
*r CallHistoryGetResult Entry 0 Video Outgoing PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Video Outgoing MaxJitter: 0
*r CallHistoryGetResult Entry 0 Audio Incoming PacketLoss: "0/0"
*r CallHistoryGetResult Entry 0 Audio Incoming PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Audio Incoming MaxJitter: 0
*r CallHistoryGetResult Entry 0 Audio Outgoing PacketLoss: "0/4"
*r CallHistoryGetResult Entry 0 Audio Outgoing PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Audio Outgoing MaxJitter: 0

You can monitor this via a macro and do HTTP POST with the details to your collector.

 

/Magnus

 

View solution in original post

2 Replies 2

Magnus Ohm
Cisco Employee
Cisco Employee

Hi

After the call has disconnected the quality stats is stored in the callhistory. You can listen for the callhistory updated event.

 

xFeedback Register /event/callhistory

When a call his hung up you get an event saying "Callhistory Updated". When that is picked up, run:

xcommand CallHistory Get Limit: 1 DetailLevel: full

Then you get the full output of that call which also includes: 

*r CallHistoryGetResult Entry 0 Video Incoming PacketLoss: "0/0"
*r CallHistoryGetResult Entry 0 Video Incoming PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Video Incoming MaxJitter: 0
*r CallHistoryGetResult Entry 0 Video Outgoing PacketLoss: "0/0"
*r CallHistoryGetResult Entry 0 Video Outgoing PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Video Outgoing MaxJitter: 0
*r CallHistoryGetResult Entry 0 Audio Incoming PacketLoss: "0/0"
*r CallHistoryGetResult Entry 0 Audio Incoming PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Audio Incoming MaxJitter: 0
*r CallHistoryGetResult Entry 0 Audio Outgoing PacketLoss: "0/4"
*r CallHistoryGetResult Entry 0 Audio Outgoing PacketLossPercent: 0
*r CallHistoryGetResult Entry 0 Audio Outgoing MaxJitter: 0

You can monitor this via a macro and do HTTP POST with the details to your collector.

 

/Magnus

 

Thanks Magnus,
the DetailLevel: full was the trick I've missed.
Renz