<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt>Hi Sasmita,</tt></p>
    <p><tt>Currently, it seems that the MAX_BRANCHES is capped at 30. 
        Higher values will prevent OpenSIPS from starting.</tt></p>
    <p><tt>Best regards,</tt><br>
    </p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 14.08.2018 15:10, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALf-Q44H99zMK9bqoSdhe3F2BB+gsTm1=jKgWB7=X6i8JaaoBA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">I am using opensips-2.2 . I wanted to increase the
        maximun number branches per transaction . 
        <div><br>
        </div>
        <div>I have changed the config.h file  " <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">#</span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(215,58,73);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">define</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> </span><span class="gmail-pl-en" style="box-sizing:border-box;color:rgb(111,66,193);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">MAX_BRANCHES</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">    </span><span class="gmail-pl-c1" style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">12 </span><span class="gmail-pl-c1" style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#000000"> " , I increased that to 250 . </font></span></div>
        <div><span class="gmail-pl-c1" style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#000000">
</font></span></div>
        <div><font face="SFMono-Regular, Consolas, Liberation Mono,
            Menlo, Courier, monospace" color="#000000"><span style="font-size:12px;white-space:pre">After installing again I am getting error in tm module . Below is the error .</span></font></div>
        <div><font face="SFMono-Regular, Consolas, Liberation Mono,
            Menlo, Courier, monospace" color="#000000"><span style="font-size:12px;white-space:pre">
</span></font></div>
        <div><font face="SFMono-Regular, Consolas, Liberation Mono,
            Menlo, Courier, monospace" color="#000000"><span style="font-size:12px;white-space:pre"><div> <a class="moz-txt-link-freetext" href="INFO:tm:mod_init">INFO:tm:mod_init</a>: TM - initializing...</div><div> CRITICAL:tm:mod_init: Too many max UACs for UAC branch_bm_t bitmap: 300</div><div> ERROR:core:init_mod: failed to initialize module tm</div><div> ERROR:core:main: error while initializing modules</div><div> <a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup</div><div> NOTICE:core:main: Exiting....</div><div> <a class="moz-txt-link-freetext" href="INFO:core:daemonize">INFO:core:daemonize</a>: pre-daemon process exiting with -1</div><div>
</div><div>
</div><div>What should I change in the module to make this work ? Please suggest . </div></span></font></div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr"><b><i>Thanks & Regards</i></b>
                  <div><i>Sasmita Panda</i></div>
                  <div><i>Senior Network Testing and Software Engineer</i></div>
                  <div><i>3CLogic , ph:07827611765</i></div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Wed, May 23, 2018 at 2:56 PM, Răzvan
          Crainea <span dir="ltr"><<a
              href="mailto:razvan@opensips.org" target="_blank"
              moz-do-not-send="true">razvan@opensips.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you
            compiling the module separately? Can you double check you
            are actually installing the new binary and modules after
            compiling?<br>
            <br>
            Best regards,<br>
            Răzvan<span class=""><br>
              <br>
              On 05/22/2018 11:59 AM, Sasmita Panda wrote:<br>
            </span>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">
                When I am compiling  opensips with the changes I am
                getting bellow error .<br>
                <br>
                opensips: ERROR:core:sr_load_module: could not open
                module </usr/local/lib64/opensips/mod<wbr>ules/db_mysql.so>:
                /usr/local/lib64/opensips/modu<wbr>les/db_mysql.so:
                undefined symbol: db_new_result<br>
                <br>
                How I will fix this ?<br>
                <br>
                <br>
              </span><span class="">
                */Thanks & Regards/*<br>
                /Sasmita Panda/<br>
              </span>
              /Senior Network Testing and Software Engineer/<br>
              /3CLogic , ph:07827611765/<span class=""><br>
                <br>
                On Mon, May 21, 2018 at 5:16 PM, Sasmita Panda <<a
                  href="mailto:spanda@3clogic.com" target="_blank"
                  moz-do-not-send="true">spanda@3clogic.com</a>
                <mailto:<a href="mailto:spanda@3clogic.com"
                  target="_blank" moz-do-not-send="true">spanda@3clogic.com</a>>>
                wrote:<br>
                <br>
                    There was dependency on another parameter 
                "NEXTRA_BRANCH" . I have<br>
                    increased this also .<br>
                <br>
                    Now I am able to start opensips . Please let me know
                if I am wrong .<br>
                <br>
              </span><span class="">
                    */Thanks & Regards/*<br>
                    /Sasmita Panda/<br>
                    /Network Testing and Software Engineer/<br>
                    /3CLogic , ph:07827611765/<br>
                <br>
              </span><span class="">
                    On Mon, May 21, 2018 at 4:56 PM, Sasmita Panda <<a
                  href="mailto:spanda@3clogic.com" target="_blank"
                  moz-do-not-send="true">spanda@3clogic.com</a><br>
              </span><span class="">
                    <mailto:<a href="mailto:spanda@3clogic.com"
                  target="_blank" moz-do-not-send="true">spanda@3clogic.com</a>>>
                wrote:<br>
                <br>
                        Yes , I have more register for same username .<br>
                <br>
                        I have tried changing this parameter but the
                change induce<br>
                        different error .<br>
                <br>
                        After increasing the parameter MAX_BRANCHES , I
                am not able to<br>
                        start Opensips .<br>
                        Its giving below error .<br>
                <br>
                        <a class="moz-txt-link-freetext" href="INFO:tm:mod_init">INFO:tm:mod_init</a>: TM - initializing...<br>
                        CRITICAL:tm:mod_init: Too many max UACs for UAC
                branch_bm_t<br>
                        bitmap: 400<br>
                        ERROR:core:init_mod: failed to initialize module
                tm<br>
                        ERROR:core:main: error while initializing
                modules<br>
                <br>
                <br>
                        How I will solve this ?<br>
                <br>
              </span><span class="">
                        */Thanks & Regards/*<br>
                        /Sasmita Panda/<br>
                        /Network Testing and Software Engineer/<br>
                        /3CLogic , ph:07827611765/<br>
                <br>
              </span><span class="">
                        On Mon, May 21, 2018 at 4:35 PM, Răzvan Crainea<br>
              </span>
              <div>
                <div class="h5">
                          <<a href="mailto:razvan@opensips.org"
                    target="_blank" moz-do-not-send="true">razvan@opensips.org</a>
                  <mailto:<a href="mailto:razvan@opensips.org"
                    target="_blank" moz-do-not-send="true">razvan@opensips.org</a>>>
                  wrote:<br>
                  <br>
                              Hi, Sasmita!<br>
                  <br>
                              By default OpenSIPS can fork up to 12
                  branches - are you<br>
                              using more than 12 registered SIP clients
                  for the same<br>
                              username? If you are not using more than
                  12 registrations<br>
                              for the same user, than you might have an
                  issue in your<br>
                              config/setup.<br>
                              If this is the expected scenario and you
                  really want to<br>
                              increase the number of branches, you'll
                  have to change the<br>
                              MAX_BRANCHES define in config.h[1] and
                  re-compile opensips<br>
                              with this new value.<br>
                  <br>
                              [1]<br>
                              <a
                    href="https://github.com/OpenSIPS/opensips/blob/master/config.h#L159"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">https://github.com/OpenSIPS/op<wbr>ensips/blob/master/config.h#L1<wbr>59</a><br>
                              <<a
                    href="https://github.com/OpenSIPS/opensips/blob/master/config.h#L159"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">https://github.com/OpenSIPS/o<wbr>pensips/blob/master/config.h#L<wbr>159</a>><br>
                  <br>
                              Best regards,<br>
                              Răzvan<br>
                  <br>
                              On 05/21/2018 01:09 PM, Sasmita Panda
                  wrote:<br>
                  <br>
                                  Hi All ,<br>
                  <br>
                                  I am facing the bellow issue while
                  running  load on<br>
                                  opensips .<br>
                  <br>
                                  using a 8 core 32GB linux machine and
                  opensips-1.6 is<br>
                                  running on this .<br>
                  <br>
                                  In 500 concurrent calls and 450
                  agents  I am facing<br>
                                  problem .<br>
                  <br>
                                     ERROR:core:append_branch: max nr of
                  branches exceeded<br>
                                     ERROR:registrar:lookup: failed to
                  append a branch<br>
                  <br>
                  <br>
                                  These error message is getting printed
                  continuously.<br>
                  <br>
                  <br>
                                  Please help me how to fix this . How I
                  will increase the<br>
                                  number of branches and how does it
                  work ?<br>
                  <br>
                  <br>
                                  */Thanks & Regards/*<br>
                                  /Sasmita Panda/<br>
                                  /Network Testing and Software
                  Engineer/<br>
                                  /3CLogic , ph:07827611765/<br>
                  <br>
                  <br>
                                  ______________________________<wbr>_________________<br>
                                  Users mailing list<br>
                </div>
              </div>
                              <a href="mailto:Users@lists.opensips.org"
                target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
              <mailto:<a href="mailto:Users@lists.opensips.org"
                target="_blank" moz-do-not-send="true">Users@lists.opensips.o<wbr>rg</a>><br>
                              <a
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><span
                class=""><br>
                                <<a
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>><br>
                <br>
                <br>
                            --             Răzvan Crainea<br>
                            OpenSIPS Core Developer<br>
                            <a href="http://www.opensips-solutions.com"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a><br>
                            <<a
                  href="http://www.opensips-solutions.com"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://www.opensips-solutions<wbr>.com</a>><br>
                <br>
                            ______________________________<wbr>_________________<br>
                            Users mailing list<br>
              </span>
                          <a href="mailto:Users@lists.opensips.org"
                target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
              <mailto:<a href="mailto:Users@lists.opensips.org"
                target="_blank" moz-do-not-send="true">Users@lists.opensips.o<wbr>rg</a>><br>
                          <a
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
                          <<a
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>><span
                class=""><br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                ______________________________<wbr>_________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.opensips.org"
                  target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
                <a
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
                <br>
              </span></blockquote>
            <div class="HOEnZb">
              <div class="h5">
                <br>
                -- <br>
                Răzvan Crainea<br>
                OpenSIPS Core Developer<br>
                  <a href="http://www.opensips-solutions.com"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a><br>
                <br>
                ______________________________<wbr>_________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.opensips.org"
                  target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
                <a
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>