OS terminates app and stops sending Voip pushes even if reportNewIncomingCall() is called

It an app receives a Voip push, but has to terminate the call, then if this happens a few times the OS is terminating the app (Message from debugger: Terminated due to signal 9) and then it stops delivering future pushes to the app.


i.e. with code


let endCallAction = CXEndCallAction(call: callUUID)

let transation = CXTransaction(action: endCallAction)

self.callController.request(transation) { (error) in

}


provider.reportNewIncomingCall(with: callUUID, update: callUpdate) { error in

Model.priorityLog("GRUNT reportNewIncomingCall completion error \(String(describing: error))")

completion()

}

Replies

Did you get this solved? I'm having the same issue

Have u solved this issue.?