<div dir="ltr">Hi Giovanni,<div>in this case, supposing that the desktop client is registered, you send the INVITE to it, you store the transaction and you send the push WITHOUT suspending the transaction. Then you append to the transaction additional branch(es) as soon as the mobile client register.</div><div>I hope I understood your scenario.</div><div>Regards,</div><div><br></div><div>Federico</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 10, 2016 at 11:09 AM, Mele Giovanni <span dir="ltr"><<a href="mailto:giovanni.mele@nagra.com" target="_blank">giovanni.mele@nagra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Federico,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thx for you input. We are effectively using TS_SILO module to store the transactions. The link to your presentation is very interesting! Grazie!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In your presentation, the multi-device scenario assumes all devices are able to receive push notifs, but what happens if you have one device that doesn’t support
 it, like a Windows based desktop VoIP client?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Giovanni<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> sr-users [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a>]
<b>On Behalf Of </b>Federico Cabiddu<br>
<b>Sent:</b> vendredi 10 juin 2016 10:48<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] TM Module t_suspend question<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal">for this kind of scenarios I'd suggest to use the TSILO module which have been thought for mobile multidevice scenarios:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.kamailio.org/docs/modules/devel/modules/tsilo.html" target="_blank">http://www.kamailio.org/docs/modules/devel/modules/tsilo.html</a>.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Basically what you can do is: send the INVITE to the desktop phone, store the transaction, send the push to wake up the mobile app, append a branch to the stored transaction as soon as the mobile app registers.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In my last year's presentation at Kamailio World I give an example of TSILO usage:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.kamailio.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf" target="_blank">http://www.kamailio.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Federico<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Jun 10, 2016 at 10:41 AM, gmele <<a href="mailto:giovanni.mele@nagra.com" target="_blank">giovanni.mele@nagra.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hello,<br>
<br>
we are using the TM Module* t_suspend *function in our kamailio to suspend<br>
transactions (mainly INVITE requests). We do this as we send some push<br>
notification to the callee that will force it to re-REGISTER. Once we get<br>
the REGISTER, we resume the transaction with a *t_continue()*.<br>
<br>
If the callee never re-REGISTER, the FR Timer will terminate the INVITE<br>
transaction.<br>
<br>
This is working fine for us when the callee has a phone that can receive the<br>
push notification.<br>
<br>
<br>
Now, we want to be able to contact users having multiple devices: phone and<br>
desktop VoIP clients. The problem with current implementation is that if we<br>
wait for the re-REGISTER from the mobile phone, we may never send the INVITE<br>
to the desktop VoIP client if the mobile phone is shutdown.<br>
<br>
So, I'd like to now if it is possible to set a timer to the t_suspend<br>
command which will automatically resume the suspended transaction (without<br>
issuing  an ERROR like the FR timer is doing)? I didn't see such possibility<br>
in the TM module, but is there another way to implement this?<br>
<br>
Hope I was clear enough<br>
<br>
<br>
Regards<br>
<br>
<br>
Giovanni<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/TM-Module-t-suspend-question-tp149391.html" target="_blank">
http://sip-router.1086192.n5.nabble.com/TM-Module-t-suspend-question-tp149391.html</a><br>
Sent from the Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>