<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>