不使用 Lync 创建到 SIP PSTN 网关的 UCMA 3.0 端点
我想使用 UCMA 3.0(独立,不带 Lync)创建一个 IVR 应用程序,如 SDK 文档中所示:
http://msdn.microsoft.com/en-us/library/gg448007.aspx
我想要一个代码片段来演示如何创建端点到 SIP PSTN 网关,以便人们可以从普通电话拨入,应用程序将会接听。我有来自 SIP 提供商的用户名、密码和域。我在任何示例中都找不到上面链接中描述的模型的实际代码示例。
I want to use UCMA 3.0 (standalone, without Lync) to create an IVR application as modeled in the SDK docs:
http://msdn.microsoft.com/en-us/library/gg448007.aspx
I'd like a code snippet that demonstrates how to create the endpoint to a SIP PSTN Gateway so people can dial in from a regular phone and the app will pick up. I have the user name, password, and domain from the SIP provider. I could not find in any of the samples an actual code example of the model described in the link above.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,UCMA 中包含的 Visual Studio 模板已经处理了这个问题(尽管以一种极其混乱的方式)。如果您创建一个新项目并按 F5,它将启动一个独立的应用程序,侦听端口 5060。
它不处理 SIP 注册。为此,您需要在您的应用程序和提供商之间放置一个代理服务器。查看 http://www.brekeke.com/sip/,他们提供低成本的 SIP可以向您的 SIP 提供商注册的服务器。
Actually, the Visual Studio template included with UCMA already handles this (albeit in an ultra confusing way). If you create a new project and hit F5 it will start a standalone application listening on port 5060.
What it doesn't handle is SIP registration. For that you'll need to put a proxy server between your app and your provider. Check out http://www.brekeke.com/sip/, they offer a low-cost SIP server that can register against your SIP provider.