Calling pjlib from unknown/external thread...[resolved]

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

 



Hi All,

I answer myself : the function register has to be called inside every 
pjsip functions and not only on initialisation.

Greg


> Hi All,
>
> I have the known error displayed when I call pjsua_call_make_call :  
> "Calling pjlib from unknown/external thread..." .
> When I search on old messages from PJSip list about this problem, I 
> can find that I have to do the following thing :
>
> if(!pj_thread_is_registered()) {
>   pj_thread_register(NULL,desc,&thread);
> }
>
> So, I register thread on my function that initialize PJSip. All works 
> ok, but when I call pjsua_call_make_call I have the error.
>
> This error appears with version 1.0.3. Previously, I used version 
> 1.0.0 and all worked fine.
>
> Can anyone can help me?
>
> Thanks and best regards,
>
> Greg
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>




[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