无法使用 ACS 从客户端应用程序开始呼叫团队用户

Cannot Start Call from client app to teams user using ACS

使用此处的指南https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-teams-interop?pivots=platform-windows

我可以从我的客户端应用程序加入团队会议。

现在尝试用客户端上的团队身份向另一个团队身份(在团队上)发起 1:1 调用;我尝试使用 https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-voice-video-calling-custom-teams-client

中的 StartCallAsync 方法(而不是 JoinAsync)

此示例在节点中 - 我使用的是 C#,看起来 SDK 的最新测试版没有公开 threadId 属性。

这是JS代码

call_ = await call_agent.startCall([{ microsoftTeamsUserId: calleeTeamsUserId.value.trim() }], { videoOptions: videoOptions, threadId: teamsThreadId });

和这个link https://docs.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/startcalloptions?view=azure-communication-services-js 声明需要线程;然而,对于 c# SDK

不存在这样的 threadId

客户端从连接状态变为断开状态 - 呼叫永远不会响铃

调用的具体代码

StartCallOptions startCallOptions = new StartCallOptions();
ICommunicationIdentifier[] callees = new ICommunicationIdentifier[1]
{
     new MicrosoftTeamsUserIdentifier(*****)
};
call_ = await call_agent.StartCallAsync(callees, startCallOptions);

Azure 通信服务有多种类型的 Teams 互操作,它们在今天 (1/31/2022) 处于不同的开发阶段。当前不支持您的互操作和编程语言组合。互操作场景:

  1. A​​CS 用户加入 Teams 会议的能力已普遍适用于所有 JS、.net、iOS、Android。
  2. Teams 用户通过 ACS JavaScript 管理 Teams VoIP 通话、Teams PSTN 通话和 Teams 会议的能力 public 预览中。 Android、iOS 和 .net 调用 SDK 不支持 Teams 身份。

您可以在以下文档中了解有关支持的更多信息: https://docs.microsoft.com/en-us/azure/communication-services/concepts/interop/teams-user-calling