Currently, with 1.12.4, my call control application thread handles messages from other application threads that include removing/adding new lines (i.e. multiple NUAs). If it is now a 1.12.6 requirement that the su_root_ thread calls nua_create(), how would my call control thread communicate to the su_root_ thread to later invoke nua_create()?
I don't understand this new 1.12.6 design. My current application design is the result of guidance received via this mailing list. Perhaps there is a patch for 1.12.6 so that I can preserve my application as shown below? That is, I invoke nua_create/nua_destroy from my main application thread, and call su_root_run() from a separate thread, as shown below. void main(...) { su_init(); su_home_init(); su_root_create(); su_root_threading(); nua_create(); su_root_threading(); nua_create(); pthread_create(&main_sip_root_thread, ...); nua_handle(); nua_register(); nua_handle(); nua_register(); ... nua_destroy(); nua_create(); ... nua_destroy(); nua_create(); ...} void main_sip_root_thread(...) { while(1) { su_root_run(); assert(); } } Best Regards, Jerry ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel