Java Question Need help wrapping SIP library

Semendey

Member
Hello everyone.
I am trying to write a wrapper for the SIP library
I have already successfully wrapped the AJVoIP library, but only the functions I need.
But since this is a paid library, I cannot use it without restrictions, nor distribute it.

I found a free SIP project based on PJSIP and a couple of examples of its use

Unfortunately, I couldn't compile any of the examples above to check their functionality.
Maybe someone else can do it.

As I understand it, there is currently no SIP solution for B4A, so perhaps this will become at least some kind of alternative

I started wrapping PJSIP.jar and everything seems to be assembled into a library for B4A, but when I launch it, nothing happens.
No SIP events are triggered

I am attaching the wrapper file, asking for any help and any tips.

I apologize, I am a big newbie in JAVA development and English is not my native language.
 

Attachments

  • PJSIP.jar
    347.7 KB · Views: 174
  • MyPJSIP.java
    8.7 KB · Views: 181
Top