Report Audio/Video Call Metrics

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

When an audio/video call is terminated, before cleaning up the media and signaling call legs, Unified Communications Client API collects call metrics data to be reported in the session reports from the SIP stack and the media stack. Calling PublishSessionMetrics when the session is terminated sends the call reporting data to Office Communications Server. The quality metrics server URI is provisioned in the IUccServerConfigurationCategory. For more information, see Query Office Communications Server Configuration.

void _IUccSessionEvents.OnTerminate(
    IUccSession session,
    IUccOperationProgressEvent eventData)
{
    avs.PublishSessionMetrics(szQualityMetricsUri, null);
}