如何使用应用程序端点为UCMA中的所有用户获取所有来电 [英] How to get all incoming calls for all users in UCMA with an Application Endpoint

查看:100
本文介绍了如何使用应用程序端点为UCMA中的所有用户获取所有来电的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试为所有Lync用户注册用于传入呼叫的​​处理程序.问题是我无法存储使用UserEndpoint时所需的所有凭据.目前,我已经通过硬编码服务UserEndpoint设法检索了所有Lync用户及其联机状态.

I try to register a handler for incoming calls for all Lync Users. The problem is I cannot store all the Credentials that are needed when using a UserEndpoint. At the moment I have managed to retrieve all Lync Users and also their online state with a hard coded service UserEndpoint.

正如我已经弄清楚的那样,您不能使用ApplicationEndpoint监听传入的呼叫,那么我是否需要为每个Lync用户提供一个UserEndpoint?我在某处读到,可以在受信任的应用程序中创建不带凭据的UserEndpoint.

As I already figured out, you cannot listen for incoming calls with an ApplicationEndpoint, so do I need a UserEndpoint for every Lync User? I read somewhere that it is possible to create a UserEndpoint without Credentials in a trusted Application.

理论上,我已经在Lync前端服务器和Application Server之间创建了受信任的应用程序关系,并且还注册了TrustedApplicationEndpoint.我只是不确定它是否真的起作用,因为在更改受信任的应用程序名称或任何其他设置时没有得到不同的结果.

In theory I already created a trusted application relationship between the Lync Front End Server and the Application Server and also registered the TrustedApplicationEndpoint. I just can't be sure if it is really working as I do not get a different result when changing the trustedapplicationname or any of the other settings.

还有另一种方法可以解决此问题吗?
如果不是,我该怎么做才能监听所有来电?

Is there another way to solve this problem?
If not what do I have to do to listen for all incoming Calls?

推荐答案

您可以在ApplicationEndpoint上侦听注册呼入电话,但是它将仅侦听定向到该呼叫的呼叫,而不会侦听其他用户的呼叫.应用程序端点具有自己的SIP地址.

You can listen to register for incoming calls on an ApplicationEndpoint, but it will listen only to calls directed to it, not to other users. An application endpoint has it's own SIP address.

您可以以多种方式处理您的问题.在很大程度上取决于您要如何监听所有来电".

You can deal with your problems in multiple ways. A lot depends on what you want to do with "listening to all incoming calls".

您选择的路由是为每个用户创建一个UserEndpoint.如果已经设置了受信任的应用程序,则可以使用其CollaborationPlatform创建新的用户端点. "受信任的"应用程序的想法是,它可以模拟每个人并代表他们创建端点,而无需每个用户的凭据.

The route you have chosen is to create a UserEndpoint for each user. If you have a trusted application already set up, you can use its CollaborationPlatform to create new user endpoints. The idea of a "trusted" application is that it is allowed to impersonate everyone and create endpoints on their behalf, without having each users' credentials.

此解决方案需要考虑的一些重要事项:

Some important things to think about for this solution:

  • 为每个用户创建一个端点可能意味着创建和管理许多端点.
  • 无论用户是否在线,都会将其显示为在线(或不忙/忙碌/等),因为您为他们创建了活动的端点.
  • 这不会捕获对不存在地址的呼叫(可能不是真正的问题).

第二个选项是使用MSPL更改传入呼叫的​​路由.您可以将呼叫重定向到ApplicationEndpoint的SIP地址,并且只需要1个终结点和1个呼叫侦听器.可以在此处找到有关此方法的更多信息和详细信息:使用MSPL将请求重新路由到UCMA应用程序.

The second option is to use MSPL to change the routing of incoming calls. You can redirect calls to the SIP address of your ApplicationEndpoint, and you will need only 1 endpoint and one call listener. Some more info and details on this method can be found here: Rerouting requests to a UCMA application with MSPL.

如前所述,很大程度上取决于您要在此处实现的目标.

As said before, a lot depends on what you're trying to achieve here.

这篇关于如何使用应用程序端点为UCMA中的所有用户获取所有来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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