【问题标题】:calling UCWA with c# - lync 2013 server使用 c# 调用 UCWA - lync 2013 服务器
【发布时间】:2017-02-06 10:03:12
【问题描述】:

我向下面的url发送了一个get请求(我在这里用xxx替换了我公司的真实域名)

http://lyncdiscover.xxx.com/?sipuri=abc@xxx.com

而不是根据许多博客获得这种格式。

{
"_links":{
"self":{
  "href":"https://lyncweb.sipdomain.co.uk/Autodiscover/AutodiscoverService.svc/root?originalDomain=sipdomain.co.uk"
},
"user":{
  "href":"https://lyncweb.sipdomain.co.uk/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=sipdomain.co.uk"
},
"xframe":{
  "href":"https://lyncweb.sipdomain.co.uk/Autodiscover/XFrame/XFrame.html"
    }
  }
}

我在没有 xframe 的情况下返回了这种格式(我用 xxx 替换了域):

{
  "AccessLocation": "External",
  "Root": {
   "Links": [
      {
        "href":         "https://lswebservice.xxx.com/Autodiscover/AutodiscoverService.svc/root/domain",
    "token": "Domain"
  },
  {
    "href": "https://lswebservice.xxx.com/Autodiscover/AutodiscoverService.svc/root/user",
    "token": "User"
  }
    ]
  }
}

我在这里想念什么?

【问题讨论】:

    标签: lync-2013 ucwa


    【解决方案1】:

    您需要更新您的 Lync Server 2013 环境 - Updates for Lync Server 2013。 UCWA 与 Lync Server 2013 (CU1) 一起上线,您最初遇到的是自动发现服务,该服务已在 CU1 中更新以返回您在上面所期望的格式。

    该信息包含在ITAdmin-Configuration 文档的最后一段中。

    【讨论】:

    • 以前是 2013 年的服务器,因为这是旧式自动发现服务响应的唯一解释。您可能希望在所有 FE/Edge 服务器上运行 %ProgramFiles%\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe(位置很可能会有所不同),因为我不认为该系统上的自动发现服务设置正确。
    • 是的,原来我们还没有完全升级到2015,一些前端服务器还在2010。
    • 这真的很令人沮丧,正如您所看到的,如果用户被路由/托管到早期服务器上的前端,他们将遇到这个障碍。可能有一种方法可以猜测 AutoDiscovery 的位置,但将其构建到应用程序中可能会在不做的事情列表中排名靠前。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-03
    • 1970-01-01
    相关资源
    最近更新 更多