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

Azure Communication Service Rooms无法发起呼叫:用户不在邀请列表问题

Azure Communication Service Rooms 呼叫授权问题
  • 已基于Azure Communication Service Rooms搭建示例应用,创建了包含指定参与者的房间,尝试通过房间ID调用callAgent.join发起呼叫:
const roomCallLocator = { roomId: roomId }
call = callAgent.join(roomCallLocator, { videoOptions })
  • 呼叫代理初始化视频流后立即断开,抛出**「用户不在邀请列表」**错误,但通过roomsClient.listParticipants(roomId)查询确认该参与者已在房间参与者列表中。
  • 尝试手动将参与者添加到呼叫对象,代码如下:
const participantsList = await roomsClient.listParticipants(roomId)
console.log('\nRetrieved participants for room:')
    
for await (const participant of participantsList) {
   call.addParticipant(participant.id)    
}
  • 执行后仍出现呼叫启动即结束的情况,抛出错误code: 403 subCode: 5828,日志中的异常详情:

5e46e33213be","callType":2,"callDirection":"Outgoing","failureReason":"CallSetupError","callEndDiagnosticsInfo":{"callControllerCode":403,"callControllerSubCode":5828,"phrase":"The join is not authorized for Acs Room System since user is not part of invitee list."

  • 直接使用官方的房间呼叫快速入门示例代码,也会触发相同错误。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.27 17:32:05