[SR-Users] Increase MAX_BRANCHES_LIMIT

Lars Jansson lars.jansson at solstiernan.nu
Sat Dec 10 13:02:09 CET 2022


Hi,

I am building a configuration script where for some traffic flows 
parallel forking will be needed, and in this case I need to go beyond 
the default max limit of the max amount of branches.

Apart from this specific case the traffic load that kamailio will need 
to handle is very low, let's say just one second here and there with up 
to 5 concurrent calls at most.

This limit is as far as I understand set here: 
usr/local/src/kamailio-5.6/kamailio/src/core/config.h

And the default limit is:
#define MAX_BRANCHES_LIMIT              32      /*!< limit of maximum 
number of branches per transaction */

Here are the questions I have related to this:

1) If I increase the value of this constant in config.h, how high is it 
reasonable to set this value and still have a stable system?

2) If I increase MAX_BRANCHES_LIMIT beyond 32, are there also other 
parameters that needs to be changed for the system to be able to cope, 
and if so whichparameters?

Regards,
Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221210/3a397945/attachment.htm>


More information about the sr-users mailing list