Salih YILDIRIM
2017-07-21 08:17:55 UTC
Hi all,
I managed to run pjsip with .net wpf app. To do this I used python swig configuration to create c# project and pjsua2.dll. Everything works well and I can make and receive calls. But after some time call connection established, I got an assertion error you will find below. I also tried to create thread for telephony layer and tried to run on UI Thread, both same, nothing changed.
I use Endpoint.instance().libRegisterThread(threadname) but that also no fix. Anyone fix a problem like this please help.
pj_assert(!"Calling pjlib from unknown/external thread. You must "
"register external threads with pj_thread_register() "
"before calling any pjlib functions.");
Thanks
I managed to run pjsip with .net wpf app. To do this I used python swig configuration to create c# project and pjsua2.dll. Everything works well and I can make and receive calls. But after some time call connection established, I got an assertion error you will find below. I also tried to create thread for telephony layer and tried to run on UI Thread, both same, nothing changed.
I use Endpoint.instance().libRegisterThread(threadname) but that also no fix. Anyone fix a problem like this please help.
pj_assert(!"Calling pjlib from unknown/external thread. You must "
"register external threads with pj_thread_register() "
"before calling any pjlib functions.");
Thanks