简体   繁体   English

Java IVR示例

[英]Java IVR Example

I'm hoping someone could point me in the direction of a library to help handle SIP-based voice traffic. 我希望有人可以指出我的方向,以帮助处理基于SIP的语音流量。 I'm trying to implement a lightweight IVR system. 我正在尝试实现轻量级的IVR系统。 Essentially, it would integrate into an existing SIP-based call-center application, do some IVR processing, and then return the call back to the originating call. 本质上,它将集成到现有的基于SIP的呼叫中心应用程序中,执行一些IVR处理,然后将呼叫返回到始发呼叫。 Here's a simple diagram: 这是一个简单的图:

(Shoot, won't let me post images yet) http://i243.photobucket.com/albums/ff2/gte619n/IVRSystemDiagram.png (射击,还不让我发布图像) http://i243.photobucket.com/albums/ff2/gte619n/IVRSystemDiagram.png

So I've found a bunch of information about SIPServlets and how they can do proxying and such, but I've not really found anything that walks through the voice side of it. 因此,我已经找到了许多有关SIPServlet的信息,以及它们如何进行代理等,但是我还没有真正发现任何涉及其语音方面的信息。 Most resources I've found are from Mobicents, Voxeo and ivrforbeginners.com, all with various dependencies on libraries such as JTAPI, OpenJSIP and others. 我发现的大多数资源都来自Mobicents,Voxeo和ivrforbeginners.com,它们均依赖于各种库,例如JTAPI,OpenJSIP等。

With deprecated and slow development of some libraries, it's a little confusing to know where to focus. 随着某些库的弃用和开发缓慢,知道要集中在哪里有点困惑。 Is there any examples of a Java-based IVR implementation out there? 有没有基于Java的IVR实现的示例? Thanks! 谢谢!

Check out Zanzibar OpenIVR which is an open source IVR project developed with Java. 看看Zanzibar OpenIVR ,这是一个用Java开发的开源IVR项目。 It does not look very active anymore but it should be a starting point. 它看起来不再非常活跃,但它应该是一个起点。 Also check out Moho by Voxeo. 还可以查看Voxeo的Moho Moho is an open source Java framework for developing multi-channel communications applications and it supports SIP. Moho是用于开发多通道通信应用程序的开源Java框架,它支持SIP。 Probably the reason you are having trouble finding any decent Java implementation is that the decent ones are proprietary and being sold by IVR vendors. 可能找不到合适的Java实现的原因可能是因为这些实现是专有的,并且由IVR供应商出售。 I also know that some IVR vendors that started out with Java went to C++ to get decent performance out of the system. 我也知道,一些以Java开头的IVR供应商选择了C ++,以使系统具有不错的性能。

Having built IVR platforms in the past I can tell you that you have a lot of person effort to get a somewhat functional lightweight IVR system. 过去已经建立了IVR平台,我可以告诉您,您需要花费很多人才能获得功能正常的轻型IVR系统。 Unless you are trying to break into the IVR market, which is pretty well saturated with vendors that have been in the market for years, I would not build an IVR from scratch. 除非您试图打入IVR市场,否则IVR市场已经被市场上已有多年的供应商所饱和,我不会从头开始构建IVR。 Voxeo has a great IVR platform called Prophecy which is SIP based and it is lightweight. Voxeo具有一个称为Prophecy的出色IVR平台,该平台基于SIP,并且重量轻。 I saw a demo where they could run a 100 ports on a little Acer Netbook. 我看到了一个演示,他们可以在一个小的Acer上网本上运行100个端口。 They have versions that run on Windows, Linux, and Mac. 它们具有在Windows,Linux和Mac上运行的版本。 You can get 2 ports for free and you pay about $249 per port for additional ports. 您可以免费获得2个端口,并为每个端口支付大约249美元。 Unless you are planning on running hundreds of ports or reselling this would be cheaper than the spending your time on developing an IVR. 除非您打算运行数百个端口或进行转售,否则这将比花时间开发IVR便宜。

You control IVR platforms like Voxeo's Prophecy using a W3C standard called VoiceXML . 您可以使用称为VoiceXML的W3C标准来控制IVR平台(例如Voxeo的Prophecy)。 VoiceXML is based on web standards so you deliver the voice application to the IVR platform using web application servers. VoiceXML基于Web标准,因此您可以使用Web应用程序服务器将语音应用程序交付到IVR平台。 I have used Tomcat to serve up VoiceXML applications that are developed using Java and JSP. 我已经使用Tomcat来提供使用Java和JSP开发的VoiceXML应用程序。 Here is a short tutorial on developing VoiceXML application using JSP . 这是有关使用JSP开发VoiceXML应用程序的简短教程 You can also find great documentation and support on Voxeo's Developer Portal . 您还可以在Voxeo的Developer Portal上找到出色的文档和支持。

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

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