且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

以 java voip 开头

更新时间:2023-11-26 19:12:40

您可能会查看托管语音平台.有 VoiceXML(有关文档和教程,请参阅 http://vxml.org/)和许多 VoiceXML 主机,包括我的雇主,Voxeo ( http://voxeo.com/ ).

You might look at hosted voice platforms. There's VoiceXML (see http://vxml.org/ for docs and tutorials) and numerous VoiceXML hosts, including my employer, Voxeo ( http://voxeo.com/ ).

还有 Adhearsion,一个在 Asterisk 上运行的编程框架 http://adhearsion.com/(它是 Ruby,但如果您需要留在 Java 世界中,总有 JRuby).

There's also Adhearsion, a programming framework that runs on Asterisk http://adhearsion.com/ (it's Ruby, but there's always JRuby if you need to stay in the Java world).

最后,您可以使用许多托管 API 服务来创建语音应用.Tropo ( http://tropo.com/ )、Twilio、ifByPhone ( http://ifbyphone.com/ ),以及其他一些.

And finally, a number of hosted API services you can use to create voice apps. Tropo ( http://tropo.com/ ), Twilio, ifByPhone ( http://ifbyphone.com/ ), and a few others.

大多数托管 API 的设计目的是让您无需成为语音开发人员即可理解它们.例如,要使用 Tropo 在 Java 中创建会议,代码如下...

Most of the hosted APIs are designed so you don't need to be a voice developer to understand them. For instance, to create a conference in Java with Tropo, here's the code...

answer();
conference('unique-id');

使用该代码,所有拨打此代码所附电话号码的人都将一起加入会议.

Using that code, everyone who calls the phone number this code is attached to will be joined into a conference together.