I see,

we are using tmx module and t_suspend function. Information about suspended transaction is stored in redis db with timeout same as suspend timeout.
With this setup you can set maximum time to hold the transaction above the maximum time that is needed to resume and register client.

Bye,
Michal Popovič

On 22 Apr 2020, at 10:51, German Cancio <German.Cancio.Melia@cern.ch> wrote:

Michal,

thanks for your reply - it’s more a general question on how much time there is on iOS between receiving the APNS on the client, doing the REGISTER cycle and getting back the INVITE. I’m thinking of possible delays/latency issues between these three steps that may cause calls to eventually fail because iOS decides to put the app back to sleep.

cheers, Germán


On 22 Apr 2020, at 08:55, Michal Popovic <michal.popovic@cloudtalk.io> wrote:

Hi,

why do you lost a call? Are you sending 100 Trying before you put transaction to TSILO?

Bye,
Michal Popovič


On 22 Apr 2020, at 07:58, German Cancio <German.Cancio.Melia@cern.ch> wrote:

Dear All,

we are working on the integration of VoIP Push Notifications with iOS devices via Kamailio. From what we observe, the time window between receiving a VoIP APNS notification that wakes up the client app and the client app being sent back to the background by iOS is extremely narrow. It is around 1-2 seconds, with a (seemingly random) variance of say ~0.5s. 
So 1-2s is the time window available for getting the client app to properly REGISTER and to receive the INVITE back from Kamailio (using e.g. TSILO); otherwise the call is lost. (On Android, the equivalent time window extends to 10s or more.) 

Have others observed the same on iOS? We are using a client app that still uses the iOS 12 SDK (with Xcode10). Can we expect changes in that regard with iOS13/Xcode13?

many thanks and cheers, Germán
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

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

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