I try to create multiple sip accounts which should work with different severs but only with one simultaneously, when one of the servers will be available. I easily can create accounts with different IP and SIP numbers and it's working OK. But in the case, where I create an account number with different server IPs but SAME SIP accounts pjsip crashes with this error:
A/DEBUG(200): Abort message: '../src/pj/os_core_unix.c:692: pj_thread_this: assertion "!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."" failed'
I am new with pjsip and SIP altogether, the question is it possible at all??