[SR-Users] Race conditions upon quick reinvite

Daniel-Constantin Mierla miconda at gmail.com
Tue Aug 24 16:24:03 CEST 2021


Hello,

see if setting this core parameter helps:

  * https://www.kamailio.org/wiki/cookbooks/5.5.x/core#route_locks_size

An alternative would be to use htable to store the time when the 200ok
(or ACK) is processed and if the re-INVITE comes very fast, do a
sleep()/usleep().

Cheers,
Daniel

On 24.08.21 15:12, David VILLAUME wrote:
>
>  
>
>  
>
> Hello,
>
> We encounter sometimes reinvite from some provider really quickly
> after 200 OK ACK so sometime there a race conditions where the
> re-invite exits Kamailio before the ACK leading to some Freeswitch
> “500 Overlapping Requests”.
>
>  
>
>  
>
> I tried to catch the 500 on failure-route unsuccessfully as
> transaction is already established.
>
>  
>
> Do you have any idea on how I could deal with this behavour ?
>
>  
>
> Running 5.3.6 with 8 childs
>
> modules used :(tm + dialog)
>
> No costly action performed on ack that can explain slowliness.
>
>  
>
>  
>
> Regards,
>
> David
>
>  
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210824/238e1f69/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15365 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210824/238e1f69/attachment.png>


More information about the sr-users mailing list