Jain SIP on Android

I am trying to make an Android app using Jain SIP. I already read the basic tutorial for SIP, and now I'm looking for a tutorial on implementing jain sip in android. I searched, but saw nothing, how to implement it on Android. So I ask everyone who knows the guide link how to implement jain sip in android, just an example of how to use it on androidh.

Any thoughts will be extremely receptive.

+4
source share
2 answers

Although both are SIP APIs, there are differences between them, implementing the JAIN SIP on the Android SIP API will be complex or, at best, incomplete, because the JAIN SIP is a lower-level API.

For example, the Android SIP APIs do not open the SIP stack, as you would expect in JAIN SIP, you cannot access SIP transactions in Android, etc.

With the Android API, you can easily manage your SIP client, which is why it is ideal for migrating to a low-level SIP protocol.

If you want to implement the JAIN SIP API on Android, you may have to write or use your own SIP stack (for example, the NIST JAIN client).

+1
source

Own built-in sip-drive is built on top of JAIN SIP, but it does not have all the functions, now there is no support for IM, presence and video calls. Google forked the SIP Stack and never updates the default SIP API and used the same package names as the original JAIN SIP project. This turned out to be a serious problem for developers who wanted to add SIP features around the world, because they could not use JAIN SIP out of the box.

SJ script for Android JAIN can be found here: https://code.google.com/p/jain-sip/

This is a Java-based SIP stack that allows you to seamlessly integrate the sip package into your Android application without any problems.

Complete SIP JAIN SIP package is a complete implementation of the RFC 3261 specification, as well as support for multiple SIP RFCs.

What is the problem with using an existing JAIN SIP stack?

If you tried to use the existing JAIN SIP in any Android application, you might encounter package name conflicts, these conflicts will be resolved and the stack is ready for use in android.

A full blog entry with sample code and the Android APK is available here: http://www.telestax.com/jain-sip-stack-for-android/

+3
source

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


All Articles