Hello, my goal is to address iOS 10's removal of periodic TCP connections in iOS apps with their replacement PushKit, a push-based alternative all VoIP apps should implement.

In order to have iOS apps receive SIP calls in the background, I believe I need to use tsilo to suspend the INVITE transaction send a push notification to the device. I have been following the presentation here (http://www.kamailio.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf) however I am not sure how to integrate it with Asterisk (http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb). 

My questions can be summarized below:

(1) What changes need to be made from Federico's presentation to use with the Kamailio/Asterisk integration?

(2) How can I modify the config to send push notifications for EVERY invite? This is to address the scenario where a device goes offline before the SIP registration expires and a call is received within that window. iOS is very aggressive about killing background applications so it's likely as soon as user leaves the VoIP app, the device will become unreachable.

Thanks for any help.

Benjamin Fitzgerald
LETS Corporation