Get started with VoIP [closed]

我的未来我决定 提交于 2020-01-11 19:49:25

问题


Are there any available api's in android for voice chat? What do we need to do exactly in the backend? Every where i could see information about the front end? No idea how it works in the backend? Do I need a SIP server? How to configure it? What will be its price?


回答1:


Starting APi Level 9, native SIP support was added to the framework which facilitates VoIP. http://developer.android.com/reference/android/net/sip/package-summary.html

Here is a demo app: http://developer.android.com/resources/samples/SipDemo/index.html




回答2:


You have 2 options for the backend:

a) home server - the harder way, depends on your technical specification. What functionality do you need from the server? For example Asterisk has audio-mixer for conference call, while it lacks user-presence (you need to integrate with Openfire). Kamailio/Openser support presence through SIMPLE, but they lack audio-mixer support (you need to integrate with Asterisk or SEMS). You can also consider "all-in" appliance like Sipwise, but it requires extensive knowledge if you want to configure something aside from the default configuration.

The good part is, most of the servers require very little effort to get the sip audio calls running, so if you only need that, better is to setup your own server.

The pros of this approach - you have total control over the service, you can view backend logs, you can test use-cases, which you can't with public service. The cons - it requires significant resource to setup, configure and support. This is subjective and depends on the functionality you need from the server.

b) public service - it's the easiest way. Depending on the service capabilities it maybe free or have a monthly fee. Most public SIP services allow sip audio calls, for everything else it depends on the service (calls to PSTN, video calls, conference audio/video calls etc). I would recommend sip2sip.info, but you can easily find others as well. The pros are you can start using it immediately (after you register) and you don't care about the administration of the service. The cons - you don't have control over the service, you cannot see backend logs (which are vital if you're developing feature-rich SIP software client).




回答3:


lipphone provide Voip calls try this link




回答4:


Edit: I would recommend this solution with Apache web server http://www.openvbx.org/ .

For native sip project you may wanna check http://code.google.com/p/csipsimple/ as well as this may be good starting point.

For further reading I would suggest this article, which may be useful for how to start with VoIP on bigger scale and the costs of it.

For simple solution



来源:https://stackoverflow.com/questions/9529470/get-started-with-voip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!