PjSua2 with .Net Threading Problem

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

 



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

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
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