<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>if you want that all messages (requests or replies) within same
dialog (sharing the same call-id) are processed in the order of
receiving, then set the global parameter:</p>
<p>route_locks_size = 256</p>
<p>If you have more Kamailio processes, then set the value to be at
least twice the number of processes.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 05.02.19 13:42, Duarte Rocha wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAJJHZhRqeONT=egVMYZwaX-yn2h1CDgq3Q7WXM7yj7+f2w7Fg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>