Hi, we are using JNA (https://jna.dev.java.net/) to integrate the pjsip.dll (from sipek: http://sipeksdk.googlecode.com/svn/trunk/pjsipdll/Lib/) and are doing well. A example: public interface PjsipLibrary extends StdCallLibrary { public int dll_registerAccount(String uri, String reguri, String domain, String username, String password, String proxy, boolean isdefault); public int dll_setCodecPriority(String name, int prio); public Integer dll_getNumOfCodecs(); public Integer dll_init(); public int dll_pollForEvents(int timeout); public Integer dll_main(); public Integer dll_removeAccounts(); public Integer dll_answerCall(int callId, int code); public Integer dll_getCodec(int index, String codec); public int dll_setSoundDevice(String playbackDeviceId, String recordingDeviceId); public int dll_makeCall(int accountId, String uri); public int dll_xferCall(int callId, String uri); public int dll_holdCall(int callId); public int dll_retrieveCall(int callId); public int dll_xferCallWithReplaces(int callId, int dstSession); public int dll_releaseCall(int callId); public int dll_shutdown(); public interface SignalFunction extends StdCallCallback { int invoke(int cb_regstate); } public interface SignalFunction2 extends StdCallCallback { int invoke(int cb_regstate, String number); } public interface SignalFunction3 extends StdCallCallback { int invoke(int sessionId, int callState); } int onRegStateCallback(SignalFunction func); int onCallStateCallback(SignalFunction3 func); int onCallIncoming(SignalFunction2 func); int getConfigDataCallback(SignalFunction func); int onCallHoldConfirmCallback(SignalFunction func); int onMessageReceivedCallback(SignalFunction func); int onBuddyStatusChangedCallback(SignalFunction func); int onDtmfDigitCallback(SignalFunction func); int onMessageWaitingCallback(SignalFunction func); int onCallReplaced(SignalFunction func); } use: private PjsipLibrary pjsipLibrary = (PjsipLibrary) Native.loadLibrary("pjsipDll", PjsipLibrary.class); pjsipLibrary.dll_makeCall(0, "sip:<number>@server"); and voil?. PS: don't forger the jna.jar 2009/5/25 senthil at gotouchpoint.com <senthil at gotouchpoint.com> > Dear All, > > Do anybody have idea about how to integrate a PJSIP C++ application (in > Linux platform) with JAVA using JNI concept. I have my C++ application > which is working fine, but I don't have idea to interface with JAVA. I > expect anybody to tell the guideline on this issue. > > Thanks & Regards, > - Senthil > > -------------------------------------------------------------------- > mail2web.com - Microsoft? Exchange solutions from a leading provider - > http://link.mail2web.com/Business/Exchange > > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090525/7f6a09bd/attachment.html>