Get started with VoIP

14,422

Solution 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

Solution 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).

Solution 3

lipphone provide Voip calls try this link

Solution 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

Share:
14,422
Seshu Vinay
Author by

Seshu Vinay

Updated on August 13, 2022

Comments

  • Seshu Vinay
    Seshu Vinay over 1 year

    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?

  • Seshu Vinay
    Seshu Vinay about 12 years
    that seems like an app available in the market. Do we have an api to implement it?
  • Girish Bhutiya
    Girish Bhutiya about 12 years
    use this git clone to get linphone code. linphone.org/eng/download/git.html
  • Seshu Vinay
    Seshu Vinay about 12 years
    I have it. but problem is with the back end part. donno where to start.
  • Anirudh
    Anirudh about 12 years
    What do you mean by back-end part? Does that mean implementing a SIP server? Do you want to do that? There are plenty of SIP services and servers available: en.wikipedia.org/wiki/List_of_SIP_software#Servers
  • Seshu Vinay
    Seshu Vinay about 12 years
    yeah.thanks. i think that will help me