ACS - Start a video call with a MS Teams user

JustADev 6 Reputation points
2021-08-18T22:36:00.207+00:00

Hello,

I am trying to use ACS API to start a video call with a MS Teams user. So far, I followed the quickstart guide on Azure found here: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling?pivots=platform-android. Based on the sample code, I modified the part of code in MainActivity.java to try start calling a known Teams user.

On line 131, instead of "participants.add(new CommunicationUserIdentifier(calleeId));", I changed it to "participants.add(new MicrosoftTeamsUserIdentifier("<-Teams user's Active Directory object ID->"));".

After successfully compiling and starting call on this ACS custom app, the Teams user would never receive a call in Teams app. I believe the IntterruptedException may have been thrown during the attempt. I am using 'com.azure.android:azure-communication-calling:1.0.0-beta.10' and ''com.azure.android:azure-communication-common:1.0.3'' for the project.

Please help.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
704 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 16,441 Reputation points
    2021-08-20T07:52:59.56+00:00

    Hi @JustADev ,

    We are sorry you are facing this issue. Are you getting any specific errors after modifying the sample code? Can you please try updating your Communication Services Calling SDKs to v1.1.0 (or newer)?

    -Grace

    0 comments No comments

  2. Rameshkumar Gudala 1 Reputation point
    2021-10-06T20:07:32.343+00:00

    Can someone please share the solution?