You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Microsoft Teams与UWP应用集成:无法发起1对1音视频呼叫

无法向Teams用户发起1对1音视频呼叫的问题排查记录
  • 遵循微软文档使用「Calling」示例应用,可接收Teams用户1对1呼叫、发起外呼电话,但无法向Teams用户发起1对1音视频呼叫
  • Fiddler抓包观测:Teams客户端发起呼叫时携带用户令牌,而UWP集成应用仅发送隧道请求后终止
  • 文档未明确「被叫方」格式,使用Microsoft Entra(原AAD)中的Teams用户地址调用,返回CallResonCode 500,更换多个拥有有效Teams及Azure Communications Services(ACS)许可证的Microsoft 365用户均失败

更新1:

  • 添加前缀8:echo123可成功呼叫机器人,但使用8:[teamsuserId]时返回CallResonCode Remote_client_endpoint_not_registered

更新2:
使用标准邮箱格式的Teams企业账户作为被叫方,执行以下代码仍返回呼叫失败原因500:

private async Task<TeamsCommunicationCall> StartCteCallAsync(string cteCallee)
{
    var startCallOptions = new StartTeamsCallOptions()
    {
        OutgoingAudioOptions = new OutgoingAudioOptions() { IsMuted = true, Stream = micStream },
        OutgoingVideoOptions = new OutgoingVideoOptions() { Streams = new OutgoingVideoStream[] { cameraStream } }
    };

    var userCallId = new MicrosoftTeamsUserCallIdentifier(cteCallee);
    var call = await this.teamsCallAgent.StartCallAsync(userCallId, startCallOptions);
    return call;
}

MicrosoftTeamsUserCallIdentifier方法未报错,但最终无法创建呼叫

更新3:

  • 微软推送NuGet包至1.3.0版本后,TeamsCallClient和TeamsCallAgent相关内容被移除,仅保留ACS类型的CallClient和CallAgent
  • 移除CTE呼叫相关代码后应用可运行,但仍无法发起1对1Teams呼叫
  • 尝试8:、8:acs:、无前缀等格式,返回CallEndReason代码500或400/子码5037,未找到正确的用户呼叫身份格式文档

内容的提问来源于stack exchange,提问作者Larry Aultman

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.06 18:53:29