I am suspecting that i get deadlock when a callback (on_call_state is called..) where i am calling call_get_info() and then while callback is inside call_get_info.. (call_get_info not returned value yet).. context switches to my thread where another call to py_pjsua is called for example call_make_call or player_destroy.. maybe calling those functions causes double entry of call call_get_info or other function... which leads to a deadlock. Can this scenario be thue?