ACS check if anyone is on call or if the meeting has started

Saif 0 Reputation points
2023-08-16T07:53:49.62+00:00

I am using Azure Communication Services (ACS) to create a web application for example - https://github.com/Azure-Samples/communication-services-web-calling-tutorial

Now I would like to add a feature, that is would it be possible to check if anyone is in the "Teams" meeting room before we join the meeting? And can we check if the "Teams" meeting has been started already?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,503 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
786 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,636 Reputation points Microsoft Employee
    2023-08-18T10:50:42.82+00:00

    @Saif Thanks for your patience on this, I have checked with Azure Communication Engineering and sharing the below.

    Currently ACS does not have any way to check whether the teams meeting has started or not and also how many participants in the call who has joined before you.

    Alternatively, you achieve this using change notification in Microsoft Graph API as explained below.

    1.Can we check if the "Teams" meeting has been started already?

    A: You can use Change notifications in Microsoft Graph enable you to subscribe to call started/ended and call roster updates for Microsoft Teams online meetings.

    • CallStarted - Occurs when the meeting call has started.
    • CallEnded - Occurs when the meeting call has ended.
    • CallRosterUpdate - Occurs when a participant joins or exits the meeting call.

    Refer to this documentation for more information about Event Notification types.

    2.Check if anyone is in the "Teams" meeting room before we join the meeting? or if the meeting has started and number of people in the call before I even join?

    A: We don't have any direct solution for this, You can register webhook and do the counting based on CallRosterUpdated events, but there is not API that will give you the list of participants in the call/number of participants in the ongoing event.

    Feel free to reach back to me if you have any further questions on this.

    1 person found this answer helpful.