[SR-Users] Keep requests order

Alex Balashov abalashov at evaristesys.com
Tue Feb 5 18:42:55 CET 2019


We have dealt with this extensively, and the only way we know to fix it
is to use the async features of Kamailio to, for example, slightly delay
every reinvite, possibly informed by some state tracking/ordering of
your own in htable.

On Tue, Feb 05, 2019 at 12:42:44PM +0000, Duarte Rocha wrote:

> Greetings,
> 
> I'm having some problems with keeping the order of the messages in Kamailio.
> 
> In some cases i'm receiving an ACK for the first INVITE and immediately
> after that a RE-INVITE is sent by the client.
> 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.
> 
> I have two questions :
> 
> 1 - Is there a way to keep the order of the messages in a dialog, and if
> so, what are the downsides to it?
> 
> 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?
> 
> Best Regards,
> 
> Duarte Rocha

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list