受信任的应用程序API(Skype for Business) - 邀请许可用户参加临时会议

时间:2017-08-10 14:44:44

标签: api callback skype-for-business ucwa trusted-application

我正在尝试为Skype for Business创建匿名聊天应用程序。

Folowed Trusted Application API (Skype for Business) – Authentication and Online Meetings教程我把一切都搞定了,除了我不能为商业用户邀请许可Skype,也不能开始会议。

当我致电 service:joinAdhocMeeting 网址时,回调脚本会捕获包含 service:addParticipant 网址的响应 - 类似于:

https://webpoolbl20r04.infra.lync.com/platformservice/tgt-5b7d56427fde560091ff724dd7e3d410/v1/applications/522422585/communication/participantInvitations?endpointId=sip:webchat@myorg.com&conversationId=e8285886-d0a5-4bf2-ea64-7f74774ea451

将json有效负载发布到链接:

{
    operationId: 'd51285886-d0a5-4bf2-ea64-7f74774ea451',
    to: 'sip:whoIwantToInvite',
}

给我回复:

 HTTP response 201 CREATED

完成后,回调会再捕获两个事件

  • 服务:参与者邀请启动的信息
  • 稍后服务:参与者邀请失败

显示原因是:

reason: {
    code: "Timeout",
    message: "The operation was timed out."
},

当我尝试 service:startMessaging 而不是创建adhoc会议时,我最终会遇到与上述相同的Timeout错误。

被邀请的Skype for Business用户肯定是在线的,如果我确实打开了创建的adhoc会议的 joinUrl ,我可以毫无问题地加入对话。

您遇到过相同的行为吗?是否有任何服务器端'登录Skype for Business在线,我可以转向哪里?

0 个答案:

没有答案