Lync UCMA SDK服务器-全局订阅所有Presentation的状态更新 [英] Lync UCMA SDK Server - Globally subscribe to presence updates for all Presentities

查看:87
本文介绍了Lync UCMA SDK服务器-全局订阅所有Presentation的状态更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在不单独订阅所有实体的情况下从Lync服务器全局捕获所有状态更改?

Is it possible to globally catch ALL presence changes from Lync server without subscribing to all presentities individually?

我们所追求的似乎与UCMA SDK中的RemotePresenceView类非常相似,但是该类仅允许您订阅您所了解的实体.我们是否需要加载所有实体然后订阅它们-即使您可以采用可扩展的解决方案?

What we're after seems to be very similar to the RemotePresenceView class in the UCMA SDK but that class only allows you to subscribe to presentities that you know about. Would we need to load all presentities and then subscribe to them - and even if you could is this a scalable solution?

推荐答案

只需注意您的问题,尽管它有点老了,以为我会回答以防万一.

Just notice your question and although it's getting a little old, thought I'd answer it just in case.

我不知道UCMA中的任何内容,但是也许有一个SIP的存储库,您可以从中访问(也许从AD?)并像往常一样通过RemotePresenceView订阅状态.

There's nothing in UCMA that I know of but perhaps there is a repository of SIPs you can get to (from AD perhaps?) and subscribe to presence via RemotePresenceView as normal.

我的经验是RPV订阅实际上可以很好地扩展,尽管您可能想用几百个而不是单个的Sip来调用RPV.BeginSubscription(sips),否则您将不会总是收到SubscriptionStateChange事件.

My experience is that RPV subscriptions actually scale fairly well, although you may want to call RPV.BeginSubscription(sips) with batches of sips of a few hundred rather than individually as you won't always get a SubscriptionStateChange event otherwise.

在任何单个呼叫中,使用RPV.BeginSubscription(sips)可能会遇到1000多个sip的麻烦,但是我肯定编写了最终会随时间订阅10,000+ sip的系统.

You may have trouble using RPV.BeginSubscription(sips) for more than 1000 sips in any individual call but I've certainly written systems that eventually subscribe to 10,000+ sips over time.

这篇关于Lync UCMA SDK服务器-全局订阅所有Presentation的状态更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆