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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
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.
2,825 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 5,616 Reputation points Microsoft Vendor
    2023-10-30T07:43:49.6533333+00:00

    James Kirsop - There is no direct way to identify if a user declined a call from the call record data. The call record data provides usage and diagnostic information about the calls and online meetings that occur within your organization when using Microsoft Teams or Skype for Business. It does not provide specific user actions such as whether a user declined or answered a call.

    To achieve your requirements, we recommend you give your feedback in Teams Feedback Portal.

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments