Android configure and create sip calls programmatically - android

I am new to android and SIP. I want to create an application in android through which i can configure and create SIP calls programmatically. I want to encrypt that call.
Android includes a full SIP protocol stack and integrated call management services but it will not manage sessions, transport-level communication.
So anybody who has good idea on SIP/Voip please kindly suggest me how can i achieve this.

Look at CSipSimple program. It is an open source project.

Related

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

Using Native Android Bluetooth Support for Codename

Need help with a working example of native android bluetooth support for codenameone apps. I have one working in android but having a problem integrating with codenameone.Thanks in advance.
If you have working code in Android already, you just need to create a Native Interface to handle the API calls and callbacks you need. You'll be able to use most of your Android code, a few modifications will be needed to strip out the parts that control the UI. Check the developer guide, it discusses this. I believe that there's also a tutorial video.
There is also a CN1Lib or extension for Bluetooth Low Energy, if that's what you're developing.

Video chat for One to one Using java code for Android

Hi I am new to developing video chat application. Please help me how can i chat?
or
Any one please let me know that how to integrate skype to my application using android.
Thanks for in advance.
Hi I am new to developing video chat application. Please help me how
can i chat?
I dont know if this will answer your question but in my experience in Session Initiation Protocol you can do Audio Calling , but the generic doesnt allow 3G and some phones ive tested doesnt work, that is why i moved to imsdroid which is using doubango framework and is working for both Video/Audio calling and they even have samples for a working simple test app .
If you still want to pursue this kind of app I suggest reading this tutorial will give you more insight on the client-side.
And this(If you want to setup your server) server freeswitch which will cater your client side for such protocol or if you want to test the client-side implementation you can as well use free sip servers as of now.
If you have manage to setup freeswitch and would like to register users dynamically i suggest reading this another tutorial to work dynamic registration for users http://saevolgo.blogspot.kr/2012/07/freeswitch-with-sip-users-in-mysql-mod.html
NOTE: freeswitch is really a tough one to setup, i was using all the resources i have just to setup dynamic registration with new users using mod_xml_curl which freeswitch has(im using Amazon ec2 instance, in which freeswitch has tutorial for amazon ec2).
I hope this will benefit you as this benefits me :)

Categories

Resources