How can I tell from a Call Record if a user declined a call?

James Kirsop 31 Reputation points
2021-03-22T21:36:23.933+00:00

When looking at a Call Record (either requested via Postman or received via a subscription and handled in a script) I'm unable to tell which, if any, users declined a call in the beta endpoint.

In a real world example, I declined a call to a queue yesterday, which was then picked up by another team member. Both of us showed up as participants in the call record (I guess that's ok??), but there was no flag/value/identifier in the JSON session object to say that I'd declined and the other member had answered.

The only way I can differentiate this is by checking the callStart and callEnd values, and if the gap between the two is short (<1s?) then consider it declined. However, this may not always be true (eg, someone picks up the call but accidentally hangs up their handset). Therefore data captured using this time comparison method may not be an accurate record.

What can I look at to clearly identify when a participant in a call declines instead of answers?

Microsoft Graph Cloud Communications API
Microsoft Graph Cloud Communications API
A Microsoft API that adds a new dimension to how your apps and services interact with users through various communications-related features, such as calling and online meetings.
126 questions
Microsoft Graph Teamwork API
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,872 questions
{count} votes