Callback function to calculate the response digest in java library

W
wnas
Mon, May 8, 2017 12:38 PM

I'm using PJSIP through java swig wrapper. Everything is fine, but I need to have callback function to calculate the response digest. It can be assigned in C code (dst->ext.aka.cb = &callback function), but it is not exposed to JAVA. Do I have to fork the library to achieve this, or maybe I'm missing something, and there is simplier way?
have a good day
wnasilowski

I'm using PJSIP through java swig wrapper. Everything is fine, but I need to have callback function to calculate the response digest. It can be assigned in C code (dst->ext.aka.cb = &callback function), but it is not exposed to JAVA. Do I have to fork the library to achieve this, or maybe I'm missing something, and there is simplier way? have a good day wnasilowski