SIP stack

297 views
Skip to first unread message

André Barbosa

unread,
Jun 21, 2010, 2:32:05 PM6/21/10
to android-ndk
hi all,
i need to porting a sip stack to android! after search in google and
read several posts in android groups, i think that the best choice is
sofia-sip or PJSIP. At this time, i think in use the PJSIP! what is
your opinion?

after download the PJSIP, i saw your code and i understand how compile
this lib in linux, however, i don't know how i begin to porting this
code to compile on Android! anybody can give some help?

Best Regards.

Onur Cinar

unread,
Jun 21, 2010, 3:00:04 PM6/21/10
to andro...@googlegroups.com

Hi André,

Yes PJSIP and MJSIP are two promising solutions. PJSIP is C and MJSIP is Java. I think licensing wise PJSIP much more flexible, but please do double check.

A good starting point would be taking a look at the sipdroid application (http://code.google.com/p/sipdroid), which actually has code using PJSIP and MJSIP.

Best regards,

-onur

2010/6/21 André Barbosa <afilipe...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


---
www.zdo.com

Fred Grott(Android Expert, http://mobilebytes.wordpress.com)

unread,
Jun 21, 2010, 7:17:55 PM6/21/10
to android-ndk
The choice will come down to license and specs..

SOFIA_SIP supports video PJSIP does not..

SOFIA_SIP is Apache Licensed PJSIP is GPL'ed

Both PJSIP and SOFIA_SIP have java parts and native c parts.

André Barbosa

unread,
Jun 22, 2010, 10:13:29 AM6/22/10
to android-ndk
thanks for yours fast answer,
I already used the Java MjSip with sucessfull on Android applications,
however, i need to porting the MjSip (in c linguage) to Android for my
Master thesis.

if anybody have any experience, give me some help please.

Best Regards,
André Barbosa.

On 22 Jun, 00:17, "Fred Grott(Android Expert, http://mobilebytes.wordpress.com)"

André Barbosa

unread,
Jun 22, 2010, 1:09:12 PM6/22/10
to android-ndk
sorry, i need to porting the PjSip (in c linguage) to Android for my
Master thesis. (Not MjSip)

On 22 Jun, 15:13, André Barbosa <afilipebarb...@gmail.com> wrote:
> thanks for yours fast answer,
> I already used the Java MjSip with sucessfull on Android applications,
> however, i need to porting the MjSip (in c linguage) to Android for my
> Master thesis.
>
> if anybody have any experience, give me some help please.
>
> Best Regards,
> André Barbosa.
>
> On 22 Jun, 00:17, "Fred Grott(Android Expert,http://mobilebytes.wordpress.com)"

Onur Cinar

unread,
Jun 22, 2010, 1:44:42 PM6/22/10
to andro...@googlegroups.com

Hi André,

Did you check the sipdroid code?  I guess they already managed to get PJSIP working on Android?

Regards,

-onur

2010/6/22 André Barbosa <afilipe...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.



---
www.zdo.com

ismangil

unread,
Jun 22, 2010, 9:59:11 AM6/22/10
to android-ndk
Hi André,

I'm from Teluu, the company behind pjsip.

Regarding pjsip, it been ported to pjsip by Regis, please have a look
at http://code.google.com/p/csipsimple/

Hope this helps.

--
Perry Ismangil

André Barbosa

unread,
Jun 23, 2010, 9:01:08 AM6/23/10
to android-ndk
thanks ismangil,
i see the code ;)

Best Regards,
André Barbosa.

On 22 Jun, 14:59, ismangil <pe...@teluu.com> wrote:
> Hi André,
>
> I'm from Teluu, the company behind pjsip.
>
> Regarding pjsip, it been ported to pjsip by Regis, please have a look
> athttp://code.google.com/p/csipsimple/

André Barbosa

unread,
Jun 23, 2010, 9:06:15 AM6/23/10
to android-ndk
Hi Onur Cinar,
i already worked with sipdroid code! and the SIP stack used in
Sipdroid, is all written in java code! I need the SIP stack in native
code!

thanks Onur Cinar ;)

On 22 Jun, 18:44, Onur Cinar <onur.ci...@gmail.com> wrote:
> Hi André,
>
> Did you check the sipdroid code?  I guess they already managed to get PJSIP
> working on Android?
>
> Regards,
>
> -onur
>
> 2010/6/22 André Barbosa <afilipebarb...@gmail.com>
> > android-ndk...@googlegroups.com<android-ndk%2Bunsu...@googlegroups.com>
> > .

Fred Grott(Android Expert, http://mobilebytes.wordpress.com)

unread,
Jun 23, 2010, 9:45:12 AM6/23/10
to android-ndk
In native android code you will get double the data objects across the
JNI bridge not a good idea..that is why sipdroid has SIP stack on the
java side
> > > android-ndk...@googlegroups.com<android-ndk%2Bunsubscribe@googlegr oups.com>

Onur Cinar

unread,
Jun 23, 2010, 12:07:17 PM6/23/10
to andro...@googlegroups.com

Hi André,

For some reason I couldn't find the URL but, but as far as I'm remembering there was a sipdroid clone with pjsip, or may be I'm wrong.  Or may be I'm just remembering csipsimple (http://code.google.com/p/csipsimple/).

By the way, while I was searching for the URL, I found the VoiDroid (http://android.wooyd.org/) project. I didn't check it, but I thought that you may want to take a look.

Regards,

-onur





2010/6/23 André Barbosa <afilipe...@gmail.com>
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


---
www.zdo.com

André Barbosa

unread,
Jun 23, 2010, 12:08:17 PM6/23/10
to android-ndk
I need to implement the SIP protocol in OpenCORE framework, so the
best solution for me is use the native SIP stack!
I already define a new software struct for OpenCORE that implement a
SIP stack and at this moment i already compile the PJSIP with OpenCORE
framework in Android source code.. Now i need to adapt the
StreamManager of OpenCORE to work with PJSIP stack ;)

if anybody works in OpenCORE framework, i have interest in share the
knowledge.

Best Regards,
André Barbosa.

On 23 Jun, 14:45, "Fred Grott(Android Expert, http://mobilebytes.wordpress.com)"
Reply all
Reply to author
Forward
0 new messages