<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto">Hello<div dir="auto">there is already max_branches parameter you can set in config file.</div></div><div class="gmail_extra"><br><div class="gmail_quote">Le 10 déc. 2022 13:02, Lars Jansson <lars.jansson@solstiernan.nu> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    <p>Hi,</p>
    <p>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.</p>
    <p>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.<br>
    </p>
    <p>This limit is as far as I understand set here: usr/local/src/kamailio-5.6/kamailio/src/core/config.h</p>
    <p>And the default limit is:<br>
      #define
        MAX_BRANCHES_LIMIT              32      /*!< limit of maximum
        number of branches per transaction */</p>
    <p>Here are the questions I have
        related to this:</p>
    <p>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?</p>
    <p>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 which
      parameters?</p>
    <p>Regards,<br>
      Lars<br>
    </p>
  </div>
</blockquote></div><br></div>