Passing userdata to pjsua.call_make_call from java and SWIG

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

 



I'm trying to call pjsua.call_make_call. I'm using the jni layer in
CSipSimple that is created with SWIG.

How can I pass the user_data? if I just pass the a byte[] when I use

pjsua_call_get_user_data(call_id);

in the C code I get a non null pointer but when I try to use it the
application crashes.

Is there an example of how to do it?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130515/83bff1e1/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