<div dir="ltr">Thanks,<div><br></div><div>I was able to suspend the transaction and wait for the register but the client that sends the INVITE get unavailable right after the other side joins.</div><div>Here is my debug flow:</div><div>Client A sends the INVITES.</div><div><br></div><div>Use case 1: Client B register one time. Then I turn off the WiFi in client B so it will not recieve the push notification. Client A sends the INVITE, server sends the PUSH and Client A is waiting for 5 seconds.</div><div><br></div><div>Use case 3: Same as before but now client B get the push. This time client A that sends the INVITE gets from the server unavailable as soon as client B register.</div><div><br></div><div>I did as you suggested and suspend the trunsaction before sending the push. Probably a second suspend is needed when client B sends the REGISTER?</div><div><br></div><div>Thanks and regards,</div><div>Nir</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 20, 2016 at 4:06 PM, Federico Cabiddu <span dir="ltr"><<a href="mailto:federico.cabiddu@gmail.com" target="_blank">federico.cabiddu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,<br>
to set the timeout for a specific transaction you can use tm module function t_set_fr (<a href="http://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.f.t_set_fr" target="_blank">http://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.f.t_set_fr</a>).<br>
For example you could call it before suspending the transaction setting a short timeout and then call it again in the reply route when receiving the first provisional response from the client.</p>
<p dir="ltr">Regards,</p>
<p dir="ltr">Federico</p>
<div class="gmail_quote"><div><div class="h5">On 20 Jul 2016 2:50 pm, "Nahum Nir" <<a href="mailto:hello.shalom.hi@gmail.com" target="_blank">hello.shalom.hi@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div>How can I chage the timer waiting for the client to send the register. i.e. how much time to wait for the push?</div><div><br></div><div>Thanks,</div><div>Nir</div><div><br></div></div>
<br></div></div>_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></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>