Module: kamailio
Branch: master
Commit: af3f94dd22626894548d2ee2066cf11c806410a3
URL:
https://github.com/kamailio/kamailio/commit/af3f94dd22626894548d2ee2066cf11…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-12T17:09:43+01:00
core: new parameter route_locks_size
- if set, kamailio creates a group of recursive locks used to sync on
execution of request_route and reply_route based on hashing ID of
Call-ID header. In other words, if a message has triggered the execution
of request_route or reply_route, any other message with the same Call-ID
waits until the other one finishes the execution.
- it should help when messages belonging to the same dialog come quickly
one after the other and config execution results in sending them out in
reverse order. There are some old UA implementations not able to cope
properly with this case (e.g., pstn gateways).
- be very carefull when eanbling it, it can affect performances, use
only when strictly needed
- note also that hashing over Call-ID means that there could be
collisions and different Call-ID values can result in same hash ID
- default value is 0 - feature not enabled
- set it to a positive integer number, it should be higher than the over
all number of processes created by kamailio, can be much higher
---
Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/globals.h
Modified: src/core/receive.c
Modified: src/core/receive.h
Modified: src/main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/af3f94dd22626894548d2ee2066cf11…
Patch:
https://github.com/kamailio/kamailio/commit/af3f94dd22626894548d2ee2066cf11…