<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Perhaps this presentation can be of inspiration.</p>
<p>You would need to branch Your call if You have more destinations.
<br>
</p>
<p>A simpler approach which I use is to loop for some seconds after
sending the push, and see if the registration shows up in the
location table.<br>
</p>
<pre class="moz-signature" cols="72">-------------------- Med Liberalistiske Hilsner ----------------------
Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
Den ikke akademiske hjemmeside for liberalismen - <a class="moz-txt-link-abbreviated" href="http://www.liberalismen.dk">www.liberalismen.dk</a>
</pre>
<div class="moz-cite-prefix">On 04/09/2018 09:36 AM, Igor Olhovskiy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4608bb82-9576-4f8e-bf62-0772ffe71514@Spark">
<title></title>
<div name="messageBodySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Look
at <a
href="https://www.kamailio.org/docs/modules/5.0.x/modules/tsilo.html"
moz-do-not-send="true">https://www.kamailio.org/docs/modules/5.0.x/modules/tsilo.html</a></div>
<div name="messageSignatureSection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br>
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br>
On Apr 9, 2018, 9:44 AM +0300, Ulrich Henning
<a class="moz-txt-link-rfc2396E" href="mailto:HUlrich@telba.de"><HUlrich@telba.de></a>, wrote:<br>
<blockquote type="cite" style="margin: 5px 5px; padding-left:
10px; border-left: thin solid #1abc9c;">
<div class="WordSection1">
<p class="MsoNormal">Hi everybody,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US">I
am trying to call a sip client on a mobile cellphone,
which is registered fine at my Kamailio instance.
Everything is working fine if the phone is awake and the
mobile app is not sleeping (e.g. energy saving by OS).
If the device is sleeping, the cellphone gets a wakeup
request call via apple push kit and wakes the app.
Currently my app is doing a Register after each wakeup,
because the device does not know if the cellular network
changed (external IPv4 address with Carrier Grade NAT).</span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US">At
this point an incoming call already got routed to any
existing user registrations in userloc db. In this case,
if the cellular provided network address changed, the
sip client on the device won’t receive any invite of
this last call. Instead all last known Contact-URIs are
tried to be called until this sip invite times out
because no response message is received back in time.</span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US"> </span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US">I
tried to delay the incoming invite message, but this
doesn’t seem the right way to go, since I can’t know if
the mobile device is actually reachable and this method
would potentially delay every call.</span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US"> </span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US"> </span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US">What
is the best approach to solve this issue? I am looking
forward for any comment or suggestion.</span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US"> </span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US"> </span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US">BR,</span></p>
<p class="MsoNormal"><span xml:lang="EN-US" lang="EN-US">Henning</span></p>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>