Java的SipServlet建立VOIP电话(计算机和模拟电话/手机之间) [英] Java SipServlet to build VOIP phone calls (between Computer and analog phone/mobile)

查看:1125
本文介绍了Java的SipServlet建立VOIP电话(计算机和模拟电话/手机之间)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我感兴趣的是建立VOIP,实际上可以使用SIP或H.323可用来调用模拟电话。但我的问题是这样的,它甚至有可能建立计算机到电话和放大器;手机与SIP或H.323电脑VOIP电话?还有什么是实现这一任务的最常用的方法是什么?我已经成功地建立了我可以通过插座传输的两台计算机之间的声音的应用程序,而我的猜测是,建立与SIP模拟电话沟通是相当复杂(即使我看了一些文档,我还没有完全理解它),并有一个完全不同的架构比普通插座通信应用。那么,是否可以使用SIP Servlet或H.323实现我的目标是什么?如果你经历过建设中,但ü可以PLZ分享一些你已经和我使用的参考或文档中?我想AP preciate这么多,我pretty相信这将有利于所有谁正在寻找着建立类似的应用程序和我其他的。

I'm interested in building VOIP that actually can be used to call to analog phone using SIP or H.323. But my question is that, is it even possible to build Computer to Phone & Phone to Computer VOIP phone calls with SIP or H.323? Else what is the most common way of achieving this task? I've successfully built an application that i can transfer voices between two computers by using socket, and my guess is that building SIP to communicate with analog phone is quite complicated (even though i read some docs, i still haven't fully understood it) and has a quite different architecture than ordinary socket communication applications. So is it possible to achieve my goal using SIP servlet or H.323? And if you have experienced building it, could u plz share some of references or docs that you have used with me? I would appreciate it so much and I'm pretty sure it will be helpful for all the others who are looking forward to building similar app as mine.

=====================================

=====================================

根据用java VOIP开始

使用API​​,如 http://public.ifbyphone.com/ 或的https://www.tropo.com/home.jsp 但我有强烈的感觉,这些人会问我付钱使用他们的API,以及所有我想要做我自己是刚刚建立,并尝试出唯一的目的,而不在所有商业化了。我找到了一个相当不错的VOIP相关啄称为VoiceXML的,但它是同一种API或库作为我已经提到的那些呢?究竟什么是VoiceXML的?

a dude recommended using APIs like http://public.ifbyphone.com/ or https://www.tropo.com/home.jsp but i have strong feeling that these people will ask me to pay money to use their API, and all i want to do is just build it by myself and try-out only purpose without commercializing it at all. I've found a quite decent VOIP related thingy called VoiceXML, but is it the same kind of API or library as the ones I've mentioned already? What exactly is VoiceXML?

推荐答案

您已经事实上两个问题:

You have in fact two questions:


  1. 调用使用一个软电话的SIP Servlet。
    这是很简单的通过Mobicents / Sailfin来完成它。下载任何这些并寻找一个点击拨号的例子 http://www.mobicents.org /facebook-c2c.html 。为了监听媒体,你将不得不使用,将音频/视频送你到网络电话的媒体服务器。

  1. Call a SIP servlet with a softphone. It is quite straightforward to accomplish it via Mobicents/Sailfin. Download any of those and look for a click-to-call example http://www.mobicents.org/facebook-c2c.html. In order to listen for media you will have to use a media server that will send you audio/video to your softphone.

VXML是,你的服务器,当你调用它跨preT(想想菜单进行网上银行,prepaid充值等)的情况。见Voxeo公司的 http://www.vxml.org 详情(顺便说一句:你可以在自己的网站上创建一个帐户,并//www.voxeo:通过与Skype或SIP( HTTP美其名曰测试你的应用程序的VXML .COM /开发商/演变的IVR-developer.jsp )。

VXML is the scenario that your server will interpret when you call it (think about the menus for online banking, prepaid recharge, etc.). See Voxeo's http://www.vxml.org for details (BTW: you can create an account on their website and test your vxml applications by calling them with skype or SIP( http://www.voxeo.com/developers/evolution-ivr-developer.jsp).

这篇关于Java的SipServlet建立VOIP电话(计算机和模拟电话/手机之间)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆