To complement SilentKiller's answer, I will forward my answer to this question, but please keep in mind that choosing a stack is a rather difficult task and depends on your goals and preferences.
Android SIP Stack relays according to the old version of JAIN SIP plus some extensions (IMS, RTP support, etc.). The main problem with this stack is that on most devices it only works via Wi-Fi, 3G or LTE (note that android.net.sip.SipManager contains the isSipWifiOnly method to find out if this restriction is enabled).
On the other hand, pjsip is quite complete, as they say, this is not a SIP stack, but a complete multimedia message library. This is truly universal: you can use a huge amount of settings or just run it as a simple user agent . It works with any data connection (not limited to Wi-Fi).
Now a comparison. In my opinion, pjsip more advanced and versatile, but itโs more difficult to integrate the project with you (when using Android SIP Stack everything remains in the SDK environment, and with pjsip you will need to use the NDK and JNI library).
My opinion: if you plan to create a very simple SIP application, and you are not against the Wi-Fi restriction, I think that it is best to use your own SIP interface, but if you plan to improve it and make something more โinterestingโ, I highly recommend pjsip . I used both JAIN SIP and pjsip , and again, my vote goes for psip . But this is just my opinion.
There is also another third-party stack worth checking out: Linphone . It is also integrated into your project with JNI (e.g. pjsip) and is also quite complete, but maybe a little more complicated and harder.
Hope this helps.
jcm Dec 14 '13 at 12:24 2013-12-14 12:24
source share