<div dir="ltr">What you will suggest me . <div><br></div><div>I have below scenario . </div><div><br></div><div>There is 200 Agent , Login through a single opensips server . Opensips behaves like , Registrar . It saves the contact in DB, and route the call for that contact . </div><div><br></div><div>If all the agents try to take call . Then how I will manage the transaction limit to be within 30 . </div><div><br></div><div><br></div><div>Please make me correct if I am wrong anywhere . May be I am taking this limit in different sense . </div><div><br></div><div>How I will manage , if there will be at-least 50 concurrent calls at a time . </div><div><br></div><div>The machine type where I had installed opensips is a m4.large machine of AWS . 2 Core , 8GB CPU and Minimum 50GB hard disk . </div><div><br></div><div><br></div><div><br></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 Tue, Aug 28, 2018 at 9:26 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">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">I don't think it is working fine, it's probably just that you don't hit the 30 limit. We strongly suggest you to keep an upper limit of 30, otherwise you might experience unexpected behavior.<br>
<br>
Best regards,<br>
Răzvan<span class=""><br>
<br>
On 8/20/18 12:37 PM, 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="">
Is there any reason of doing so .<br>
<br>
I have tried to modify this value to 500 in opensips-1.11 and its working fine for me .<br>
<br>
Is a limitation of opensips-2.2 .<br>
<br></span><span class="">
*/Thanks & Regards/*<br>
/Sasmita Panda/<br>
/Senior Network Testing and Software Engineer/<br>
/3CLogic , ph:07827611765/<br>
<br></span><span class="">
On Mon, Aug 20, 2018 at 12:34 PM, Liviu Chircu <<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a> <mailto:<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>>> wrote:<br>
<br>
    Hi Sasmita,<br>
<br>
    Currently, it seems that the MAX_BRANCHES is capped at 30. Higher<br>
    values will prevent OpenSIPS from starting.<br>
<br>
    Best regards,<br>
<br>
    Liviu Chircu<br>
    OpenSIPS Developer<br></span>
    <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.<wbr>com</a>  <<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions<wbr>.com</a>><span class=""><br>
<br>
    On 14.08.2018 15:10, 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="">
    I am using opensips-2.2 . I wanted to increase the maximun number<br>
    branches per transaction .<br>
<br></span>
    I have changed the config.h file  " #defineMAX_BRANCHES12 " , I<span class=""><br>
    increased that to 250 .<br>
    After installing again I am getting error in tm module . Below is<br>
    the error .<br>
    INFO:tm:mod_init: TM - initializing...<br>
    CRITICAL:tm:mod_init: Too many max UACs for UAC branch_bm_t<br>
    bitmap: 300<br>
    ERROR:core:init_mod: failed to initialize module tm<br>
    ERROR:core:main: error while initializing modules<br>
    INFO:core:cleanup: cleanup<br>
    NOTICE:core:main: Exiting....<br>
    INFO:core:daemonize: pre-daemon process exiting with -1<br>
    What should I change in the module to make this work ? Please<br>
    suggest .<br>
<br></span><span class="">
    */Thanks & Regards/*<br>
    /Sasmita Panda/<br>
    /Senior Network Testing and Software Engineer/<br>
    /3CLogic , ph:07827611765/<br>
<br></span><span class="">
    On Wed, May 23, 2018 at 2:56 PM, Răzvan Crainea<br></span><span class="">
    <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>>> wrote:<br>
<br>
        Are you compiling the module separately? Can you double check<br>
        you are actually installing the new binary and modules after<br>
        compiling?<br>
<br>
        Best regards,<br>
        Răzvan<br>
<br>
        On 05/22/2018 11:59 AM, Sasmita Panda wrote:<br>
<br>
            When I am compiling  opensips with the changes I am<br>
            getting bellow error .<br>
<br>
            opensips: ERROR:core:sr_load_module: could not open module<br>
            </usr/local/lib64/opensips/mod<wbr>ules/db_mysql.so>:<br>
            /usr/local/lib64/opensips/modu<wbr>les/db_mysql.so: undefined<br>
            symbol: db_new_result<br>
<br>
            How I will fix this ?<br>
<br>
<br>
            */Thanks & Regards/*<br>
            /Sasmita Panda/<br>
            /Senior Network Testing and Software Engineer/<br>
            /3CLogic , ph:07827611765/<br>
<br>
            On Mon, May 21, 2018 at 5:16 PM, Sasmita Panda<br>
            <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a> <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>><br></span>
            <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a> <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>>>><span class=""><br>
            wrote:<br>
<br>
                There was dependency on another parameter<br>
            "NEXTRA_BRANCH" . I have<br>
                increased this also .<br>
<br>
                Now I am able to start opensips . Please let me know<br>
            if I am wrong .<br>
<br>
                */Thanks & Regards/*<br>
                /Sasmita Panda/<br>
                /Network Testing and Software Engineer/<br>
                /3CLogic , ph:07827611765/<br>
<br>
                On Mon, May 21, 2018 at 4:56 PM, Sasmita Panda<br>
            <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a> <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>><br></span>
                <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a><span class=""><br>
            <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">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<br>
            change induce<br>
                    different error .<br>
<br>
                    After increasing the parameter MAX_BRANCHES , I am<br>
            not able to<br>
                    start Opensips .<br>
                    Its giving below error .<br>
<br>
            INFO:tm:mod_init: TM - initializing...<br>
                    CRITICAL:tm:mod_init: Too many max UACs for UAC<br>
            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>
                    */Thanks & Regards/*<br>
                    /Sasmita Panda/<br>
                    /Network Testing and Software Engineer/<br>
                    /3CLogic , ph:07827611765/<br>
<br>
                    On Mon, May 21, 2018 at 4:35 PM, Răzvan Crainea<br>
                    <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>><br></span>
            <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>>>><div><div class="h5"><br>
            wrote:<br>
<br>
                        Hi, Sasmita!<br>
<br>
                        By default OpenSIPS can fork up to 12 branches<br>
            - are you<br>
                        using more than 12 registered SIP clients for<br>
            the same<br>
                        username? If you are not using more than 12<br>
            registrations<br>
                        for the same user, than you might have an<br>
            issue in your<br>
                        config/setup.<br>
                        If this is the expected scenario and you<br>
            really want to<br>
                        increase the number of branches, you'll have<br>
            to change the<br>
                        MAX_BRANCHES define in config.h[1] and<br>
            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">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">https://github.com/OpenSIPS/o<wbr>pensips/blob/master/config.h#L<wbr>159</a>><br>
                                   <<a href="https://github.com/OpenSIPS/opensips/blob/master/config.h#L159" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/<wbr>opensips/blob/master/config.h#<wbr>L159</a><br>
            <<a href="https://github.com/OpenSIPS/opensips/blob/master/config.h#L159" rel="noreferrer" target="_blank">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<br>
            running  load on<br>
                            opensips .<br>
<br>
                            using a 8 core 32GB linux machine and<br>
            opensips-1.6 is<br>
                            running on this .<br>
<br>
                            In 500 concurrent calls and 450 agents  I<br>
            am facing<br>
                            problem .<br>
<br>
                               ERROR:core:append_branch: max nr of<br>
            branches exceeded<br>
                               ERROR:registrar:lookup: failed to<br>
            append a branch<br>
<br>
<br>
                            These error message is getting printed<br>
            continuously.<br>
<br>
<br>
                            Please help me how to fix this . How I<br>
            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>
            <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>><br></div></div>
            <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a><span class=""><br>
            <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>>><br>
            <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">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">http://lists.opensips.org/cg<wbr>i-bin/mailman/listinfo/users</a><br>
            <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">http://www.opensips-solutions.<wbr>com</a><br>
            <<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions<wbr>.com</a>><br>
                        <<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions<wbr>.com</a><br>
            <<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions<wbr>.com</a>>><br>
<br>
                        ______________________________<wbr>_________________<br>
                        Users mailing list<br>
            <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>><br></span>
            <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a><span class=""><br>
            <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>>><br>
            <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>><br></span><span class="">
                                   <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cg<wbr>i-bin/mailman/listinfo/users</a><br>
            <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>>><br>
<br>
<br>
<br>
<br>
<br>
<br>
            ______________________________<wbr>_________________<br>
            Users mailing list<br>
            <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>><br>
            <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">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">http://www.opensips-solutions.<wbr>com</a><br>
        <<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions<wbr>.com</a>><br>
<br>
        ______________________________<wbr>_________________<br>
        Users mailing list<br>
        <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>><br>
        <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>><br>
<br>
<br>
<br>
<br>
    ______________________________<wbr>_________________<br>
    Users mailing list<br></span>
    <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>  <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>><br>
    <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>  <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>><br>
</blockquote><span class="">
<br>
<br>
    ______________________________<wbr>_________________<br>
    Users mailing list<br>
    <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.o<wbr>rg</a>><br>
    <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">http://lists.opensips.org/cgi<wbr>-bin/mailman/listinfo/users</a>><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">http://www.opensips-solutions.<wbr>com</a><br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>