简体   繁体   English

如何使用应用程序端点为UCMA中的所有用户获取所有来电

[英]How to get all incoming calls for all users in UCMA with an Application Endpoint

I try to register a handler for incoming calls for all Lync Users. 我尝试为所有Lync用户注册用于传入呼叫的​​处理程序。 The problem is I cannot store all the Credentials that are needed when using a UserEndpoint. 问题是我无法存储使用UserEndpoint时所需的所有凭据。 At the moment I have managed to retrieve all Lync Users and also their online state with a hard coded service UserEndpoint. 目前,我已经通过硬编码服务UserEndpoint设法检索了所有Lync用户及其联机状态。

As I already figured out, you cannot listen for incoming calls with an ApplicationEndpoint, so do I need a UserEndpoint for every Lync User? 正如我已经知道的那样,您不能使用ApplicationEndpoint监听传入的呼叫,那么我是否需要每个Lync用户一个UserEndpoint? I read somewhere that it is possible to create a UserEndpoint without Credentials in a trusted Application. 我在某处读到可以在受信任的应用程序中创建不带凭据的UserEndpoint。

In theory I already created a trusted application relationship between the Lync Front End Server and the Application Server and also registered the TrustedApplicationEndpoint. 从理论上讲,我已经在Lync前端服务器和应用程序服务器之间创建了受信任的应用程序关系,并且还注册了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? 如果不是,我该怎么做才能监听所有来电?

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. 您可以在ApplicationEndpoint上侦听注册呼入呼叫,但它只会侦听定向到该呼叫的呼叫,而不会侦听其他用户。 An application endpoint has it's own SIP address. 应用程序端点具有其自己的SIP地址。

You can deal with your problems in multiple ways. 您可以通过多种方式处理问题。 A lot depends on what you want to do with "listening to all incoming calls". 在很大程度上取决于您要“监听所有来电”的方式。

The route you have chosen is to create a UserEndpoint for each user. 您选择的路由是为每个用户创建一个UserEndpoint If you have a trusted application already set up, you can use its CollaborationPlatform to create new user endpoints. 如果您已经设置了受信任的应用程序,则可以使用其CollaborationPlatform创建新的用户端点。 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: 此解决方案要考虑的一些重要事项:

  • Creating an endpoint for every user could mean creating and managing a lot of endpoints. 为每个用户创建一个端点可能意味着创建和管理许多端点。
  • Users will be shown as online (or away/busy/etc) whether they really are or not, because you created an active endpoint for them. 无论用户是否在线,他们都会显示为在线(或忙/闲/等),因为您为他们创建了活动的端点。
  • This will not catch calls to non-existing addresses (might not be a real problem). 这不会捕获对不存在地址的呼叫(可能不是真正的问题)。

The second option is to use MSPL to change the routing of incoming calls. 第二种选择是使用MSPL更改传入呼叫的​​路由。 You can redirect calls to the SIP address of your ApplicationEndpoint , and you will need only 1 endpoint and one call listener. 您可以将呼叫重定向到ApplicationEndpoint的SIP地址,并且只需要一个端点和一个呼叫侦听器。 Some more info and details on this method can be found here: Rerouting requests to a UCMA application with MSPL . 可在此处找到有关此方法的更多信息和详细信息: 使用MSPL将请求重新路由到UCMA应用程序

As said before, a lot depends on what you're trying to achieve here. 如前所述,很大程度上取决于您要在此处实现的目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM