<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi,<br>
      <br>
      The 31 is a hard limit as the TM module is internally using an
      integer for storing a branch bitmask. Here is the limitation
      coming from. The change is not a trivial one, still not impossible
      (to drop the int bitmask and move to an array of int)<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 9/7/23 2:49 PM, Dmitry Ponomaryov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJUEF2uhxMBW-vLLarr1Demo7ypHnja5YQt3BoWhBAZ9Wd=ZDQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <p style="margin:0px">Have a nice day, everyone</p>
        <p style="margin:0px">
        </p>
        <p style="margin:0px">Question is to increase the value of
          MAX_BRANCHES[1] to 32, for example, which will go beyond the
          boundaries of the source code in tm.c, namely condition[2],
          which clearly shows that only 30 is possible, how critical it
          is to change the condition in tm.c, in order to get the need
          value?
          [1] <a
            href="https://github.com/OpenSIPS/opensips/blob/master/config.h#L169"
            moz-do-not-send="true">https://github.com/OpenSIPS/opensips/blob/master/config.h#L169</a>
          [2] <a
href="https://github.com/OpenSIPS/opensips/blob/master/modules/tm/tm.c#L817-L821"
            moz-do-not-send="true">https://github.com/OpenSIPS/opensips/blob/master/modules/tm/tm.c#L817-L821</a></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>