Is it possible to integrate PJSIP(LINUX based) withJava???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



and pjsipDll.dll from sipek (http://sites.google.com/site/sipekvoip/)

2009/6/17 Luis Antonio Dias de S? Junior <luisjunior.sa at gmail.com>

> try to use JNA or JNI
>
> 2009/6/17 Samuel Vinson <samuelv at laposte.net>
>
>  Hello,
>>
>> I'm sorry, I didn't try to use pjsip with java yet.
>> I just port on Nintendo DS and Iphone.
>> Some one has ported pjsip on Android before me ;-)
>>
>> But from the below message, I think you should link libsample with
>> lippjsua or  to define LIBRARY PATH.
>>
>> Regards,
>>
>> Samuel
>>
>> senthil at gotouchpoint.com a ?crit :
>>
>> Dear Samuel,
>>
>> We tried as per the sample given under the link you provided in your
>> previous mail, but we received error. Can you tell me the cause for the
>> error?
>>
>> [root at localhost test]# java sample
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: libsample:
>> /usr/lib/gcj-4.1.1/libsample.so: undefined symbol: pjsua_create
>>    at java.lang.Runtime._load(libgcj.so.7rh)
>>    at java.lang.Runtime.loadLibrary(libgcj.so.7rh)
>>    at java.lang.System.loadLibrary(libgcj.so.7rh)
>>    at sample.<clinit>(sample.java:4)
>>    at java.lang.Class.initializeClass(libgcj.so.7rh)
>>
>> Necessary files are attached for your reference.
>>
>> Thanks & Regards,
>> - Senthil
>>
>> Original Message:
>> -----------------
>> From: Jurij Smakov jurij@xxxxxxxxx
>> Date: Wed, 17 Jun 2009 04:42:33 +0100
>> To: pjsip at lists.pjsip.org, senthil at gotouchpoint.com
>> Subject: Re: Is it possible to integrate PJSIP(LINUX based)
>> withJava???
>>
>>
>> On Tue, Jun 16, 2009 at 09:17:33PM +0200, Samuel Vinson wrote:
>>
>>
>>  Hello,
>>
>> Yes you can !!!
>> You could read mailing list  ;-)
>>
>> Perry wrote 04/06/09 :
>>
>> "You can download Jurij's sources + for convenience I have bundled
>> pjsip that's known to be working here:http://code.teluu.com/tabikphoneandroid/downloads/ (download the
>> 'tip')"
>>
>>
>>  This is a fairly limited implementation, pjsip-jni (fromhttp://sourceforge.net/projects/pjsip-jni/) would probably be more
>> useful.
>>
>> Cheers.
>>
>>
>>
>>  Samuel
>>
>> Senthil a ??crit :
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Dear All,
>>
>> Can anybody please tell me whether it is possible to integrate a PJSIP
>> application with JAVA using JNI concept? If yes then please look into
>> the following issue and let me know your suggestion. We tried this in
>> all possible way without any success.
>>
>> Any suggestion is greatly appreciated!!
>>
>> Thanks & Regards,
>> - Senthil
>>
>> -------- Original Message --------
>> Subject:     Problem while integrating application with Java
>> Date:     Thu, 11 Jun 2009 11:54:12 -0400
>> From:     senthil@xxxxxxxxxxxxxxxx <senthil at gotouchpoint.com> <senthil at gotouchpoint.com>
>> Reply-To:     senthil at gotouchpoint.com, pjsip list  <pjsip at lists.pjsip.org> <pjsip at lists.pjsip.org>
>> To:     pjsip at lists.pjsip.org
>>
>>
>> Dear All,
>>
>> I'm trying to integrate my PJSIP application *(Linux based)* with
>> Java. I successfully compiled and created .so file but while running
>> the program I
>> receive the following error:
>>
>> [root at localhost sip]# java sample
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: libsample:
>> /usr/lib/gcj-4.1.1/libsample.so: undefined symbol: pjsua_destroy
>>   at java.lang.Runtime._load(libgcj.so.7rh)
>>   at java.lang.Runtime.loadLibrary(libgcj.so.7rh)
>>   at java.lang.System.loadLibrary(libgcj.so.7rh)
>>   at sample.<clinit>(sample.java:5)
>>   at java.lang.Class.initializeClass(libgcj.so.7rh)
>>
>> Please find the attachment which contains the sample .java and .cpp
>> files. Could anyone please go throgh the sample file and let me know
>> the solution
>> for this issue.
>>
>> Thanks & Regards,
>> - Senthil
>> --------------------------------------------------------------------
>> mail2web LIVE ??? Free email based on Microsoft?? Exchange technology -http://link.mail2web.com/LIVE
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>     _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>    ------------------------------
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>
>
> --
> Luis Antonio Dias de S? Junior
>



-- 
Luis Antonio Dias de S? Junior
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090617/487ddb47/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux