简体   繁体   English

如何配置Skype for Business Server来接收电话并通知UCMA应用程序

[英]How to configure a Skype For Business Server to receive phone calls and notify the UCMA application

I have pretty much finished my UCMA application which is designed to be a simple IVR. 我已经完成了我的UCMA应用程序,该应用程序设计为简单的IVR。 An unknown user calls a phone number remotely, from their cellphone, the IVR picks up the call, listens and responds to the user's voice and dmtf tones until they hang up. 未知用户从其手机远程拨打电话号码,IVR接听电话,收听并响应用户的语音和dmtf音调直到挂断为止。

Up to this point I have been testing the service as I go using xLite on my local machine. 到目前为止,在本地计算机上使用xLite时,我一直在测试服务。 It works as intended and now I am working to deploy the application on a server so I can call in using my cell phone to test the application.... 它可以按预期工作,现在我正在将应用程序部署在服务器上,以便可以用手机打电话来测试应用程序。

What I have: 我有的:

I have successfully created a Skype For Business Server 2015 along with a trusted application pool running on a standalone server. 我已经成功创建了Skype For Business Server 2015以及在独立服务器上运行的受信任的应用程序池。 The mediation server is collocated on the frontendpool(the server running skype for bussiness). 中介服务器并置在前端池中(该服务器运行Skype进行业务处理)。 And I have a PTSN gateway on another server. 我在另一台服务器上有一个PTSN网关。 I have a PBX and PTSN license along with a PTSN phone number. 我拥有PBX和PTSN许可证以及PTSN电话号码。

To Clarify 澄清

  • I have a dedicated trusted application pool(standalone), and trusted application 我有专用的受信任的应用程序池(独立)和受信任的应用程序
  • My UCMA application is manually provisioned using application endpoints. 我的UCMA应用程序是使用应用程序端点手动配置的。
  • The servers are all Windows 2012 R2 AWS instances being connected to via remote desktop. 这些服务器是通过远程桌面连接的所有Windows 2012 R2 AWS实例。 I have full control over all of them. 我对他们所有人都有完全控制权。
  • The Skype For Business Server is on-prem. Skype for Business Server是本地的。
  • I am using UCMA 5.0 我正在使用UCMA 5.0
  • The person dialing their cellphone to reach the UCMA application won't be a SkB user, essentialy a randomly stranger. 拨打手机以到达UCMA应用程序的人将不是SkB用户,本质上是随机的陌生人。

I feel like I have all the necessary components set up but I'm not sure how to connect everything together so that I can pickup my cellphone and dial into my UCMA application. 我觉得我已经设置了所有必需的组件,但是我不确定如何将所有组件连接在一起,以便拿起手机并拨入UCMA应用程序。

Should I be using conferencing or Enterprise Voice? 我应该使用会议还是企业语音? How do I go about setting up the phone number so that when its called it goes to the Skype for business server which then sends it to my ucma application? 我该如何设置电话号码,以便在呼叫电话时将其转到用于业务服务器的Skype,然后将其发送到ucma应用程序?

I think you are getting confused here. 我觉得您在这里感到困惑。

First off you need to understand some things: 首先,您需要了解一些事情:

  1. UCMA only works in on-prem SfB installations. UCMA仅适用于本地SfB安装。
  2. UCMA does not work in Office 365 (SfB online). UCMA在Office 365(在线SfB)中不起作用。
  3. Skype for Business Application SDK (Trusted Application API) only works in Office 365 (SfB online). Skype for Business应用程序SDK(受信任的应用程序API)仅在Office 365(在线SfB)中工作。
  4. Skype for Business Application SDK (Trusted Application API) does not work with On-Prem SfB. Skype for Business应用程序SDK(受信任的应用程序API)不适用于本地SfB。
  5. Skype for Business Application SDK is Microsoft's replacement for UCMA when developing for Office 365. 在为Office 365开发时,Skype for Business Application SDK是Microsoft的UCMA替代产品。
  6. Skype for Business Application SDK is both more than and also doesn't have all the features of UCMA currently. 目前,Skype for Business Application SDK不仅具有而且不具有UCMA的所有功能。 So you can do a lot more with UCMA than with Skype for Business Application SDK. 因此,与使用Skype for Business Application SDK相比,使用UCMA可以做更多的事情。

OK now to your question. 现在就您的问题了。

Do you mean generally calling your UCMA application On-Prem? 您是说一般在本地调用UCMA应用程序吗?

In this case you need to setup a On-Prem Trusted Application Endpoint using Create-CsTrustedApplicationEndpoint . 在这种情况下,您需要使用Create-CsTrustedApplicationEndpoint来设置本地可信应用程序端点。 You can read about Application Endpoints here . 您可以在此处阅读有关应用程序端点的信息

Do you mean PSTN calling your UCMA application On-Prem? 您是说PSTN在本地呼叫您的UCMA应用程序吗?

In this case you setup a Application Endpoint above and supply a valid DDI in the LineURI parameter. 在这种情况下,您可以在上方设置一个应用程序端点,并在LineURI参数中提供有效的DDI。 This is assuming you have PSTN access setup with valid incoming DDI's. 这是假定您具有有效传入DDI的PSTN访问设置。 eg Create-CsTrustedApplicationEndpoint ... -LineUri "tel:+14255551212" or Set-CsTrustedApplicationEndpoint ... -LineUri "tel:+14255551212" 例如,Create-CsTrustedApplicationEndpoint ... -LineUri“ tel:+14255551212”或Set-CsTrustedApplicationEndpoint ... -LineUri“ tel:+14255551212”

Do you mean calling your UCMA endpoint from Office 365? 您是要从Office 365呼叫UCMA端点吗?

This requires a federation connection setup between your Office 365 account and your On-Prem account. 这需要在Office 365帐户和本地帐户之间建立联盟连接设置。 Read this and this and this . 阅读这个这个这个

Do you mean only running in Office 365? 您是说只在Office 365中运行吗?

You don't want a UCMA application then, you want to develop a Skype for Business Application SDK application. 然后,您不想要UCMA应用程序,而是要开发Skype for Business应用程序SDK应用程序。 Although you may find it very limited currently to specific scenarios that Microsoft have allowed as it's being developed. 尽管您可能会发现它目前仅局限于Microsoft在开发过程中允许的特定方案。

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

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