<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Yes, with reinvites appearing before, or exactly simultaneously to, the point at which the initial invite transaction is completed and the dialogue confirmed with an e2e ACK. These messages hit different worker threads and have somewhat unpredictable exit velocity, based on many stochastic factors.<div><br><div id="AppleMailSignature" dir="ltr">—<div>Sent from mobile, with due apologies for brevity and errors.</div></div><div dir="ltr"><br>On Feb 5, 2019, at 12:55 PM, Duarte Rocha <<a href="mailto:duarterocha91@gmail.com">duarterocha91@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="auto">Thank you for your answer Alex. <div dir="auto"><br></div><div dir="auto">Wheb you say you have dealt with this, do you mean this exact scenario with re-invites and ACK or just with general packets order?</div><div dir="auto"><br></div><div dir="auto">I'll look into your solution, thank you.</div><div dir="auto"><br></div><div dir="auto">Best Regards, </div><div dir="auto"><br></div><div dir="auto">Duarte Rocha </div></div><br><div class="gmail_quote"><div dir="ltr">Na(o) terça, 5/02/2019, 12:42, Duarte Rocha <<a href="mailto:duarterocha91@gmail.com">duarterocha91@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Greetings, <div dir="auto"><br></div><div dir="auto">I'm having some problems with keeping the order of the messages in Kamailio.</div><div dir="auto"><br></div><div dir="auto">In some cases i'm receiving an ACK for the first INVITE and immediately after that a RE-INVITE is sent by the client.</div><div dir="auto">What is happening is that the the ACK took double the time of the RE-INVITE to process and as a consequence, the RE-INVITE was relayed before the ACK.</div><div dir="auto"><br></div><div dir="auto">I have two questions : </div><div dir="auto"><br></div><div dir="auto">1 - Is there a way to keep the order of the messages in a dialog, and if so, what are the downsides to it?</div><div dir="auto"><br></div><div dir="auto">2 - The machine wasn't in a load state (only one concurrent call) and the ACK and the RE-INVITE should go roughly through the same processing methods and should take took the same time to be be relayed. What can be the reason for this?</div><div dir="auto"><br></div><div dir="auto">Best Regards,</div><div dir="auto"><br></div><div dir="auto">Duarte Rocha</div></div>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Kamailio (SER) - Users Mailing List</span><br><span><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a></span><br><span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br></div></blockquote></div></body></html>