04-03-2019 05:39 AM
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
Solved! Go to Solution.
04-03-2019 07:41 AM
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
04-03-2019 07:41 AM
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
04-04-2019 12:53 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide