naresh924 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

integration of pjsip jni #223

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi...
  can we combine the pjsip jni project with android csipsimple project so that the application will not take any reference from the web.

thanks a lot

Original issue reported on code.google.com by ankush.m...@gmail.com on 20 Sep 2010 at 10:08

GoogleCodeExporter commented 9 years ago
Not sure that I understand your request.

CSipSimple is already based on the work done in pjsip-jni (it's mentioned on 
the Project home page).
But things have been regenerated using Swig and I modified a lot of code so 
that I must publish my fork here :
There is additional features I added, and also things specific to the android 
JVM (dalvik). It is also now compatible with pjsip 1.x trunk (while base 
pjsip-jni is only compatible with 1.0.x trunk).

So would be hard (and a terrible loss of time) to separate my modification in a 
patch.

Original comment by r3gis...@gmail.com on 20 Sep 2010 at 10:29

GoogleCodeExporter commented 9 years ago
Issue 224 has been merged into this issue.

Original comment by r3gis...@gmail.com on 20 Sep 2010 at 11:13

GoogleCodeExporter commented 9 years ago
hi r3gis,
I hope this issue is the best place where i can ask about pjsip-jni :)

I try to implement the presence module in CSipSimple so that i can download my 
friends list (stored by kamailio) and send/receive friend's status 
(online/offline/busy).
currently, i send ONLINE to friends by using *pjsua.acc_set_online_status* & it 
works well. But i can't send BUSY status by using 
*pjsua.acc_set_online_status2* because i can't create SWIGTYPE_p_pjrpid_element 
object. It seems that pjsip-jni doesn't have interface to create pjrpid_element 
object.

Could you give me some ideal to solve this problem, or make changes in 
pjsip-jni (in CSipSimple) so that i can create this object?

thanks!

-------------------------------------
pjsua.acc_set_online_status(int acc_id, int is_online);
pjsua.acc_set_online_status2(int acc_id, int is_online, 
SWIGTYPE_p_pjrpid_element pr)

C sample: http://www.pjsip.org/pjsip/docs/html/page_pjsip_samples_pjsua.htm
-------------------------------------

Original comment by hungdh...@gmail.com on 11 Oct 2011 at 6:53