如何调用语音xml应用程序?
我本地安装了 Voxeo 的 Prophecy 平台,以及在该平台的 voicexml 浏览器上运行的语音 xml 应用程序。在没有 sip 电话且不使用 voxeo 托管功能的情况下,如何调用应用程序来收听消息?我只想在本地安装时调用应用程序,而不使用电话。当我从浏览器中尝试此操作时,我只获取包含对话框的 xml 文件。
I have a local installation of Voxeo's Prophecy platform, and a voice xml application that runs on the voicexml browser of the platform. How can i call the application to listen to the message, without having a sip phone, and without using the voxeo's hosting capability? I just want to call the application at the local installation without using a phone. When i try this from the browser, i just get the xml file containing the dialog.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么要尝试在没有 SIP 电话的情况下启动应用程序? Prophecy 的开发者版本附带了 SIP 电话,非常适合测试和调试。您是否尝试通过普通电话或 POTS 访问该应用程序?如果是这种情况,您将需要额外的硬件,例如 Cisco VoIP 网关,用于将固定电话信号转换为 SIP。有许多可用的 VoIP 网关。另一种选择是将 Dialogic 卡放入您的服务器中,并使用在 SIP 和 Dialogic API 之间进行转换的软件。如果您从 Voxeo 购买 Prophecy 作为设备,他们可以向您出售一些选项来实现这一目标。从 Voxeo 获取此信息的优点是,他们将帮助配置它,这并非易事,具体取决于您使用的电话线类型以及它们是否位于 PBX 后面。
Prophecy 的电话/通信接口是 SIP,因此这是与之通信的唯一方式。您可以使用任何开源 SIP 堆栈自行开发一些东西,但最简单的方法是使用基于软件的 SIP 电话。这并不是说您只要开始说话,VXML 应用程序就会知道您的意图,或者语音输入是否确实适用于 VXML 应用程序。您仍然需要维护诸如会话和路由到正确应用程序之类的事情,这可以通过 SIP 电话轻松处理。 Prophecy 是为电话环境设计的。如果您尝试将其用于某些人拥有的家庭自动化系统之类的系统,我认为您必须提供某种类型的语音激活的 SIP 前端。
Why are you trying to start the application without a SIP phone? The developer version of Prophecy comes with a SIP phone that works great for testing and debugging. Are you trying to access the application from a regular telephone or POTS. If that is the case you will need additional hardware, such as a Cisco VoIP Gateway to translate the land-line signal to SIP. There are a number of VoIP Gateways available. Another option is to put Dialogic cards in your server and use a software that translates between SIP and the Dialogic API. If you purchase Prophecy from Voxeo as an appliance there are options they can sell you to achieve this. The advantage of getting this from Voxeo is that they will help configure it, which is not trivial depending upon the type type of telephone lines you are using and whether they are behind a PBX or not.
The telephony/communications interface to Prophecy is SIP so that is the only way to communicate with it. You could use any open source SIP stacks to develop something yourself, but the easiest thing to do is to use a software based SIP phone. It is not like you could just start talking and the VXML app would know what you intended, or if the if the voice input was really intended for the VXML app. You still need to maintain things like sessions and routing to the correct application which is easily handled by a SIP phone. Prophecy is designed for a telephony environment. If you are trying to use it for something like a home automation system, which some people have, I would think you would have to provide some type of SIP front end that is voice activated.