1

在此处使用指南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中的 StartCallAsync 方法(而不是 JoinAsync) -video-calling-custom-teams-client

此示例在节点中 - 我使用的是 C#,看起来 SDK 的最新 beta 版本没有threadId暴露该属性。

这是JS代码

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

这个链接https://docs.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/startcalloptions?view=azure-communication-services-js指出线程是必需的; 但是,threadId对于 c# SDK 不存在这样的

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

拨打电话的具体代码

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

1 回答 1

2

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

  1. ACS 用户加入 Teams 会议的能力通常适用于所有 JS、.net、iOS、Android。
  2. 团队用户通过 ACS JavaScript 呼叫 SDK 管理团队 VoIP 呼叫、团队 PSTN 呼叫和团队会议的能力是公共预览版。Android、iOS 和 .net 调用 SDK 不支持团队身份。

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

于 2022-01-31T08:26:35.817 回答