Hello!

Yes, that's 100% correct. We're using same approach.

But if call was canceled before device is registered, and push notification is sent already?

You may actually test it with iOS, just call and cancel immediately to iOS > 13 device involving push.

Regards,
Igor
On 13.03.2021 18:43, Jeremy McNamara wrote:
Hi Igor - Are you following the example from Frederico?   We have implemented his idea for our iOS and Android apps...    Make sure to send over the SIP CallID in the push notification.  That way if a CANCEL does get sent (on JOIN/RESUME) the app can react to it correctly.
 
https://www.kamailio.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf







_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users