Reputation: 839
I am using mobicent sip servlet and I have deployed it in JBOSS as7 successfully. But I saw testing is from the sip softphones.
I have google search alot about building our own sip client but I cannot find the proper guide.
What I have to do is using Sip Servlet as a signalling and I have to create Android client(using JAIN-SIP) and also I have to create UAC from browser.
I am confuse about how can I use my Sip Servlet application that is running on server? How I send requests(Register,Invite and so on) from client to sip servlet?
For Example this tutorial But How I create my client? :)
A little guide or small tutorial about create UAC or how to use sip servlet can help
Upvotes: 1
Views: 1076
Reputation: 2385
I would recommend starting studying this example https://github.com/Mobicents/sip-servlets/tree/master/sip-servlets-examples/websocket-b2bua
This is the Sip Servlets application behind the bundled WebRTC demo that comes with Mobicents SIP Servlets : https://github.com/Mobicents/sip-servlets/wiki/HTML5WebRTCVideoApplication
This demo connects 2 WebRTC browsers together to have a video or audio call.
In your case, you'll need to replace one of the browsers with an Android based Client. I would recommend looking at an Android SDK that supports WebRTC. We started building one at https://github.com/Mobicents/restcomm-android-sdk which is based on JAIN-SIP but the media side doesn't fully support WebRTC yet. (Any contributions are welcome though) Altough you can use it for chat/messaging to start with and show it works.
Upvotes: 1
Reputation: 1381
Android has built in very simple SIP client and APIs here http://developer.android.com/reference/android/net/sip/package-summary.html. You only need your own JAIN-SIP in android if you are using some more advanced features. There are plenty of examples here https://svn.java.net/svn/jsip~svn/trunk/src/examples
Upvotes: 1