Pjsip registration fails while using call kit(iOS)

BR
Bharath Reddy
Fri, Aug 3, 2018 10:15 AM

Hi,

 I am building an iOS app with voip functionality.  Every time I open

the app I use to register pjsip and it is registering successfully.    I am
using callKit framework to wake up the app when the app is in background
.As iOS apps wont run much time in background I use callKit framework with
voip push and then try to register with pjsip, then the app is crashing
showing the error like

"pjsua_core.c  .PJSUA state changed: NULL --> CREATED
Assertion failed: (pj_list_find_node(&endpt->module_list, mod) == mod),
function pjsip_endpt_unregister_module, file ../src/pjsip/sip_endpoint.c,
line 241.
"

This is happening only when we try to register pjsip when the app open
through callKit functionality.
please help me regarding this issue.

Regards,
Bharath.

Hi, I am building an iOS app with voip functionality. Every time I open the app I use to register pjsip and it is registering successfully. I am using callKit framework to wake up the app when the app is in background .As iOS apps wont run much time in background I use callKit framework with voip push and then try to register with pjsip, then the app is crashing showing the error like "*pjsua_core.c .PJSUA state changed: NULL --> CREATED* *Assertion failed: (pj_list_find_node(&endpt->module_list, mod) == mod), function pjsip_endpt_unregister_module, file ../src/pjsip/sip_endpoint.c, line 241.*" This is happening only when we try to register pjsip when the app open through callKit functionality. please help me regarding this issue. Regards, Bharath.