的Lync - 行为与ContactEndpoints不一致 [英] Lync - inconsistent behavior with ContactEndpoints

查看:193
本文介绍了的Lync - 行为与ContactEndpoints不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的自定义用户界面的基础上的Lync公司的目录。使用Lync 2013我执行此搜索:

I'm working on custom UI for company's directory based on Lync. Using Lync 2013 I execute this search:

Container.Instance.Lync.ContactManager.BeginSearch(SearchQuery,
            SearchProviders.GlobalAddressList,
            SearchFields.AllFields,
            SearchOptions.IncludeContactsWithoutSipOrTelUri,
            500,
            ContactsAndGroupsCallback, SearchQuery);



对于每一个匹配的联系人我试图访问其终端显示的电话号码:

For each of matching contacts I try to access their endpoints to display phone number:

var cit = ContactInformationType.ContactEndpoints;
var endpoints = contact.GetContactInformation(cit) as List<object>;



问题

如果发现联系人是我使用连接的Lync帐户的联系人列表中,那么我可以访问的全部细节(5端点)。但是,如果他是不是在联系人列表中,我可以访问只有1个端点。

If found contact is in the contact list of account I'm using to connect Lync, then I get access to full details (5 endpoints). However if he is not in contact list, I get access to only 1 endpoint.

任何想法,为什么它发生的那样?是否有一个全球性的隐私设置,我需要关闭或东西吗?

Any ideas why is it happening like that? Is there a global privacy setting I need to turn off or something?

我怎样才能在任何时候访问所有端点?

How can I get access to all endpoints at all times?

感谢您

PS:我试图加载结果中的个人和仍然设置获得相同的行为每个联系人

PS: I tried to load each contact in the result set individually and still get the same behavior.

推荐答案

从Microsoft支持答:

Answer from Microsoft Support:

你的行为看到的是,由于呈现订阅优化到Lync客户端,以便直到必要的联系信息是由Lync客户端所需要的订阅被延迟。照片是这种优化的例子。另一个例子是ContactEndpoints。请看看联系状态订阅变化迁移的部分文档在MSDN文档的Lync 2013页。
具体来说,你必须创建和维护你自己的,你需要的所有ContactEndpoints联系人ContactSubscription。

The behavior you are seeing is due to presence subscription optimization to the Lync client so that the subscription is delayed until the necessary contact information is required by the Lync client. Photo is an example for this optimization. Another example is ContactEndpoints. Please take a look at Contact presence subscription changes section of the Migration doc for Lync 2013 page in MSDN docs. Specifically you must create and maintain your own ContactSubscription for the contacts that you need all the ContactEndpoints.

这篇关于的Lync - 行为与ContactEndpoints不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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