If you are using PJSUA then pjsua_create() will register your thread (so you will not need to call pj_thread_register() explicitly). Jeff Lawson On Fri, Feb 7, 2014 at 8:25 AM, Sa?l Ibarra Corretg? <saul at ag-projects.com>wrote: > > On Feb 6, 2014, at 7:52 PM, Bogdan Chifor wrote: > > > Hello, > > > > I would like to ask you in what context should be a pj_thread > registered. From the documentation I understood that any call to pjsua > functions must be from a registered thread. > > > > Am I right? > > > > Yes :-) > > > > > Any help would be appreciated. > > > > Thank you, > > > > Chifor Bogdan > > _______________________________________________ > > 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 > > -- > Sa?l Ibarra Corretg? > AG Projects > > > > > _______________________________________________ > 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 > -- Jeff Lawson Software Development Localphone <http://www.localphone.com/> - *ITSPA Award for Best Consumer VoIP Provider 2013* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140207/b509a4eb/attachment-0001.html>