is there any protocol other than SIP for VOIP - android

I am new to android.I want to build a VOIP app.I made an app using SIP but could not test the application as my cell phone does not support SIP.Please suggest me any protocol and Library so that i can design a good and generic app for all version of android.
Advance thanks for all.

Your issue is not SIP itself, it is the built-in API that is not supported by all handsets.
You can use PJSIP, a widely used SIP stack that should supports a wider variety of Android hansets.

Related

Is it best to use a SIP stack or SIP client when implementing a VOIP application?

I'm working on an Android application that uses VOIP. I found a few established SIP Stacks/libraries out there (PJSIP, JAIN SIP, MJSIP). Android seems to also have its own Android SIP API/SDK.
I was wondering if anyone had some experience using either Android's native solution or one of these libraries. If so, what are the main technical and practical differences between both?
There are also a few popular SIP Client projects out there, such as Jami, SIPDroid and Linphone when it comes to app development on Android.
In this case, would implementing an existing SIP Client, instead of developing a new one using SIP libraries offer significant advantages?
I am mainly coding in Java and planning on using Asterisk as a SIP Server.

Does Android native sip stack support video over sip?

I have implemented successfully sip audio call using android native sip stack. But some how i dont see any information regardind video call over sip using android native sip stack. May be they do not support sip over rtp? . Any information would be highly appreciated. i coudlnt find any clear information on stackoverflow regarding this issue.
Android native sip stack has a very limited feature and i wont recommend to any one. It does not support video feature by default. For video feature it will require bidirectional information flow ,which require RTP. So in short answer no. Better try other opensource sip like pjsip.

Android SIP Chat Messaging

I have to implement chat messaging using Android SIP client but unable to find any related classes or listener. I have already implemented calling feature using SIP.
Use pjsip or Linphone opensource project.Both libraries are written using c code and well documented to build for android with sample application.
If you want pure java implementation of sip IM ,go for jainsip stack based implementation.Actually android default sip client is based on jainsip but it not support Im and only works in wifi.
Telestax implementation of jainsip helps to create apps for android.You can read this documentation for more details.Also a sample android implementation you can find here.
It seems like SIP IM is not implemented in the Android SIP client.
However you should be able to easily implement this yourself.
All you need to check is RFC 3428.
Just check the example (search for "MESSAGE sip") and it should be obvious from here.
Another solution would be to use some other open-source SIP stack with SIP MESSAGE support.
To implement both call and messaging facility in Android app, you can implement through PJSIP.It has several set of libraries to implement new features.
It has all VOIP functionalities to implement in android app.
The documentation to implement PJSIP in Android,
https://trac.pjsip.org/repos/wiki/Getting-Started/Android
The above link specifies, how to implement PJSIP in android platform.
Android doesn't have support as of now..Can you check
Check this https://telestax.com/jain-sip-stack-for-android/
WHY DO THIS?
Limitations of native sip stack.
The stock native android sip stack is built on top of JAIN SIP but it does not have all functionality, there is no support for IM, presence and video calls right now. Google forked SIP Stack and never really updated the SIP API that is shipped by default and used the same package names as the original JAIN SIP project. This proved to be a major hassle to developers that wanted to add SIP capabilities worldwide as they couldn’t use JAIN SIP out of the box.
JAIN SIP is Java based
An opensource implementation of the stack can be found here. It is a java based SIP stack which allows you to integrate the sip stack seamlessly in your android application without the hassle of NDK.
A Complete SIP Stack
JAIN SIP is a full implementation of the RFC 3261 Specification and as well as support for several SIP RFCs.

Using Restcomm SIP & Webrtc without the platform

I am looking for a way to use SIP as signalling protocol for Webrtc in Android. I saw the RestComm open source code and I think it fits my needs. But I already have the infrastructure setup for TURN and SIP server. We use FreeSwitch for that purpose. My Question is, is it possible to use the restcomm android sdk with a infrastructure that is not from restcomm platform? Will it work?
Is there any other library or way that could be used for the purpose? Infrastructure is fixed and couldn't be changed. I need webrtc with SIP or SIP over websocket as the signalling method.
Restcomm Android SDK essentially offers VoIP functionality using SIP for signaling and WebRTC for media, so you shouldn't have any issues integrating with different server components.
Notice though that so far it's tested with Restcomm platform for the most part.
For more information on how to do that you can check Quickstart Guide and also refer to the code for Hello World and Olympus Apps

Does Android 4.0.3 SIP API support NAT?

I am working with Android 4.0.3 SIP Api and was able to make sip call between 2 users on same network. But it is not working if one of the user is behind NAT/Firewall.
Does Android SIP api support the NAT? if no, is there any workaround for it.
If I find my public IP using some other STUN client, Can I provide this to Android SIP api in SipManager or SipProfile class orin any other class? It seems there is no direct way to do it but any workaroound for it?
If NAT is not supported currently, Is there any expectation to have this support in coming Android releases?
Don't use the sip library provided by Android. Use a third party one or write your own. The one comes with Android is very limited and not supported on every device.

Categories

Resources