UCMA2 Presence订阅问题 [英] UCMA2 Presence subscription question

查看:112
本文介绍了UCMA2 Presence订阅问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序正在尝试监控Active Directory中用户的存在。

我们有一个版本正在使用通过'UserEndpoint'进行RemotePresence监控,但我们担心这个的可扩展性做法。因此,我们实现了一个使用'ApplicationEndpoint'的版本,这个版本无效。

我们看到的行为是我们的订阅似乎失败了。我们观察到我们订阅的所有联系人的订阅状态从订阅到WaitingForRetry。在UserEndpoint案例中,这些订阅可以进展到已订阅。

- 我们想知道它是否存在Active Directory权限问题 - 但我们已按照SDK说明将应用程序用户帐户添加到适当的RTC用户组。
- 我们已创建并安装了证书,以允许TES权限连接到Office Communications Server。
- 我们使用示例ApplicationProvisioner创建TES并联系到运行应用程序。
- 应用程序加载并初始化并且似乎连接到OCS,并且没有报告任何错误,只是上面提到的订阅状态。


Our application is trying to monitor the Presence of users in our Active Directory.
 
We have a version working that uses RemotePresence monitoring via a 'UserEndpoint', but we are concerned about the scalability of this approach. Therefore we've implemented a version that uses an 'ApplicationEndpoint' and this version is not working.
 
The behavior we are seeing is that our Subscriptions seem to be failing. We observe the Subscription State of all contacts for which we have subscribed going from Subscribing to WaitingForRetry. In the UserEndpoint case those same subscriptions are able to progress to Subscribed.
 
-We've wondered if its an Active Directory permissions issue - but we have followed the SDK instructions for adding the applications user accounts to the appropriate RTC User Groups.
- We've created and installed a certificate to allow the TES permission to connect to the Office Communications Server.
- We've used the sample ApplicationProvisioner to create a TES and contact to run the aplication.
- The application loads and initialises and seems to connect to the OCS, and reports no errors, just the above mentioned Subscription states.


提前致谢

Simon

Thanks in advance

Simon

推荐答案

尝试将ApplicationEndpointSettings上的UseRegistration属性设置为true。

建立端点的代码如下所示:


Try setting the UseRegistration property on your ApplicationEndpointSettings to true.

The code to establish your endpoint would look something like this:

ApplicationEndpointSettings endpointSettings =
    new ApplicationEndpointSettings(
        SIP_URI,
        OCS_SERVER,
        TLS_PORT
    );

endpointSettings.UseRegistration = true;

_endpoint = new ApplicationEndpoint(_platform, endpointSettings);

_endpoint.BeginEstablish(EstablishCompleted, null);


这篇关于UCMA2 Presence订阅问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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