<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I see,<div class=""><br class=""></div><div class="">we are using tmx module and t_suspend function. Information about suspended transaction is stored in redis db with timeout same as suspend timeout.</div><div class="">With this setup you can set maximum time to hold the transaction above the maximum time that is needed to resume and register client.<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Verdana; color: rgb(12, 12, 24);" class=""><span style="-webkit-font-kerning: none;" class="">Bye,<br class="Apple-interchange-newline">Michal Popovič</span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On 22 Apr 2020, at 10:51, German Cancio <<a href="mailto:German.Cancio.Melia@cern.ch" class="">German.Cancio.Melia@cern.ch</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Michal,
<div class=""><br class="">
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">cheers, Germán</div>
<div class=""><br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 22 Apr 2020, at 08:55, Michal Popovic <<a href="mailto:michal.popovic@cloudtalk.io" class="">michal.popovic@cloudtalk.io</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">why do you lost a call? Are you sending 100 Trying before you put transaction to TSILO?<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Verdana; color: rgb(12, 12, 24);" class="">
<span style="-webkit-font-kerning: none;" class="">Bye,<br class="Apple-interchange-newline">
Michal Popovič</span></div>
<div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class="">
<br class="">
</div>
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 22 Apr 2020, at 07:58, German Cancio <<a href="mailto:German.Cancio.Melia@cern.ch" class="">German.Cancio.Melia@cern.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<span class="" style="font-family: Menlo-Regular; font-size: 11px;">Dear All,</span><br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<span class="" style="font-family: Menlo-Regular; font-size: 11px;">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. </span><br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<span class="" style="font-family: Menlo-Regular; font-size: 11px;">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.) </span><br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<span class="" style="font-family: Menlo-Regular; font-size: 11px;">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?</span><br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<br class="" style="font-family: Menlo-Regular; font-size: 11px;">
<span class="" style="font-family: Menlo-Regular; font-size: 11px;">many thanks and cheers, Germán</span>
</div>
_______________________________________________<br class="">
Kamailio (SER) - Users Mailing List<br class="">
<a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
Kamailio (SER) - Users Mailing List<br class="">
<a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>

_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></blockquote></div><br class=""></div></body></html>