Getting started with VoIP

Is there an available api in android for voice chat? What do we need to do exactly in the backend? Where could I see information about the front? Don't know how this works in the backend? Do I need a SIP server? How to configure it? What will be its price?

+4
source share
5 answers

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

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

+8
source

You have 2 options for the backend:

a) home server - more complicated, depending on your technical specifications. What functionality do you need on the server? For example, Asterisk has an audio mixer for a conference call, while it lacks the presence of a user (you need to integrate with Openfire ). Kamailio / Openser support presence through SIMPLE , but they lack support for an audio mixer (you need to integrate with Asterisk or SEMS ). You can also use an all-in-one device, such as Sipwise , but this requires extensive knowledge if you want to configure something other than the default configuration,

A good role is that most servers require very little effort to make sip sound calls, so if you need it, it's best to set up your own server.

The advantages of this approach are that you have full control over the service, you can view backend logs, you can test use cases that you cannot use for public service. Disadvantages - this requires a significant resource for configuration, configuration and support. This is subjective and depends on the functionality that you need from the server.

b) public service is the easiest way. Depending on the capabilities of the service, it may be free or have a monthly fee. Most public SIP services allow audio calls, for everything else it depends on the service (calls to PSTN, video calls, conference calls / video calls, etc.). I would recommend sip2sip.info , but you can also easily find others. Pros, you can start using it immediately (after registration), and it doesnโ€™t matter how you manage the service. Disadvantages - you do not have control over the service, you cannot see backend logs (which are vital if you are developing a multifunctional SIP software client).

+3
source

lipphone provides Voip try calls this link

+1
source

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

For your own sip project, you can check out http://code.google.com/p/csipsimple/ , and this may also be a good starting point.

For further reading, I would suggest this article, which may be useful to get started with VoIP on a larger scale and the costs of this.

For a simple solution

+1
source

Source: https://habr.com/ru/post/1399330/


All Articles