[pjsip] How to register native thread

loki1 at bezeqint.net loki1 at bezeqint.net
Sun May 25 09:15:41 EDT 2008


In my pjsua application I'm working with some dll that 
internally creates thread for callback function. I need 
first to write data with dll function and then wait for the 
callback response. I tried to use pj_event for this, but i 
get error: "Calling pjlib from unknown/external thread..." 
when i set event to signal from callback.

Is there any way to avoid it or how can i register this 
internal dll's thread? Thanks. 

More information about the pjsip mailing list