Huge delay receiving callRecord changed notification

Sergei Zinchenko 1 Reputation point
2021-09-24T13:11:45.157+00:00

We need to collect information about the user's participation in calls and meetings (The user started/joined and left/ended the call at a specific time). We planed to build some analytics on top of that info.

We decided to use the CallRecod resource as the most suitable resource for our purposes. It contains the start date and end date of the user session. And this resource works for both meetings and common Teams calls.

We hoped to receive real-time information about calls and meetings through subscriptions. We expected the resource to be updated on every new user join or leave.

So, we expected the following behavior:
To receive an event of type "created" when the meeting or call started, and an event of type "Updated" when a new user connected to the meeting or call, or the user left the meeting or call.
However, we receive only one notification for a meeting with an event type “created”, which comes in the interval from several minutes to several hours after meeting's end.

Is it the correct behavior of the change notification for the callRecord resource type?
And are there more suitable resources and APIs for my scenario?

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

1 answer

Sort by: Most helpful
  1. Hunaid Hanfee-MSFT 981 Reputation points
    2021-09-29T12:09:26.48+00:00

    Hello @Sergei Zinchenko ,
    Please have a look to know about latency to expect for different resources.

    Also the scenario that you are looking for is not possible with the subscription. callRecord subscription works in a way to get the call details when the call ends. Also, it didn't work in real-time and for all user joining/disconnecting the call.

    I would suggest you to go raise a user voice for it - https://microsoftteams.uservoice.com/

    Thanks,

    Hunaid Hanfee


    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