Is it possible to integrate PJSIP(LINUX based) with Java???

S
Senthil
Tue, Jun 16, 2009 3:46 PM

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: [pjsip] Problem while integrating application with Java
Date: Thu, 11 Jun 2009 11:54:12 -0400
From: senthil@gotouchpoint.com senthil@gotouchpoint.com
Reply-To: senthil@gotouchpoint.com, pjsip list pjsip@lists.pjsip.org
To: pjsip@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@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 list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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: [pjsip] Problem while integrating application with Java Date: Thu, 11 Jun 2009 11:54:12 -0400 From: senthil@gotouchpoint.com <senthil@gotouchpoint.com> Reply-To: senthil@gotouchpoint.com, pjsip list <pjsip@lists.pjsip.org> To: pjsip@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@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 list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
SV
Samuel Vinson
Tue, Jun 16, 2009 7:17 PM

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')"

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:    [pjsip] Problem while integrating application with Java
Date:    Thu, 11 Jun 2009 11:54:12 -0400
From:    senthil@gotouchpoint.com senthil@gotouchpoint.com
Reply-To:    senthil@gotouchpoint.com, pjsip list
pjsip@lists.pjsip.org
To:    pjsip@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@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 list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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')" 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: [pjsip] Problem while integrating application with Java > Date: Thu, 11 Jun 2009 11:54:12 -0400 > From: senthil@gotouchpoint.com <senthil@gotouchpoint.com> > Reply-To: senthil@gotouchpoint.com, pjsip list > <pjsip@lists.pjsip.org> > To: pjsip@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@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 list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
JS
Jurij Smakov
Wed, Jun 17, 2009 3:42 AM

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 (from
http://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:    [pjsip] Problem while integrating application with Java
Date:    Thu, 11 Jun 2009 11:54:12 -0400
From:    senthil@gotouchpoint.com senthil@gotouchpoint.com
Reply-To:    senthil@gotouchpoint.com, pjsip list
pjsip@lists.pjsip.org
To:    pjsip@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@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 list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Jurij Smakov                                          jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC

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 (from http://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: [pjsip] Problem while integrating application with Java >> Date: Thu, 11 Jun 2009 11:54:12 -0400 >> From: senthil@gotouchpoint.com <senthil@gotouchpoint.com> >> Reply-To: senthil@gotouchpoint.com, pjsip list >> <pjsip@lists.pjsip.org> >> To: pjsip@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@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 list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Jurij Smakov jurij@wooyd.org Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC