[OpenSIPS-Users] how to increase number of branches in opensips code .

Răzvan Crainea razvan at opensips.org
Wed May 23 05:26:22 EDT 2018


Are you compiling the module separately? Can you double check you are 
actually installing the new binary and modules after compiling?

Best regards,
Răzvan

On 05/22/2018 11:59 AM, Sasmita Panda wrote:
> When I am compiling  opensips with the changes I am getting bellow error .
> 
> opensips: ERROR:core:sr_load_module: could not open module 
> </usr/local/lib64/opensips/modules/db_mysql.so>: 
> /usr/local/lib64/opensips/modules/db_mysql.so: undefined symbol: 
> db_new_result
> 
> How I will fix this ?
> 
> 
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
> 
> On Mon, May 21, 2018 at 5:16 PM, Sasmita Panda <spanda at 3clogic.com 
> <mailto:spanda at 3clogic.com>> wrote:
> 
>     There was dependency on another parameter  "NEXTRA_BRANCH" . I have
>     increased this also .
> 
>     Now I am able to start opensips . Please let me know if I am wrong .
> 
>     */Thanks & Regards/*
>     /Sasmita Panda/
>     /Network Testing and Software Engineer/
>     /3CLogic , ph:07827611765/
> 
>     On Mon, May 21, 2018 at 4:56 PM, Sasmita Panda <spanda at 3clogic.com
>     <mailto:spanda at 3clogic.com>> wrote:
> 
>         Yes , I have more register for same username .
> 
>         I have tried changing this parameter but the change induce
>         different error .
> 
>         After increasing the parameter MAX_BRANCHES , I am not able to
>         start Opensips .
>         Its giving below error .
> 
>         INFO:tm:mod_init: TM - initializing...
>         CRITICAL:tm:mod_init: Too many max UACs for UAC branch_bm_t
>         bitmap: 400
>         ERROR:core:init_mod: failed to initialize module tm
>         ERROR:core:main: error while initializing modules
> 
> 
>         How I will solve this ?
> 
>         */Thanks & Regards/*
>         /Sasmita Panda/
>         /Network Testing and Software Engineer/
>         /3CLogic , ph:07827611765/
> 
>         On Mon, May 21, 2018 at 4:35 PM, Răzvan Crainea
>         <razvan at opensips.org <mailto:razvan at opensips.org>> wrote:
> 
>             Hi, Sasmita!
> 
>             By default OpenSIPS can fork up to 12 branches - are you
>             using more than 12 registered SIP clients for the same
>             username? If you are not using more than 12 registrations
>             for the same user, than you might have an issue in your
>             config/setup.
>             If this is the expected scenario and you really want to
>             increase the number of branches, you'll have to change the
>             MAX_BRANCHES define in config.h[1] and re-compile opensips
>             with this new value.
> 
>             [1]
>             https://github.com/OpenSIPS/opensips/blob/master/config.h#L159
>             <https://github.com/OpenSIPS/opensips/blob/master/config.h#L159>
> 
>             Best regards,
>             Răzvan
> 
>             On 05/21/2018 01:09 PM, Sasmita Panda wrote:
> 
>                 Hi All ,
> 
>                 I am facing the bellow issue while running  load on
>                 opensips .
> 
>                 using a 8 core 32GB linux machine and opensips-1.6 is
>                 running on this .
> 
>                 In 500 concurrent calls and 450 agents  I am facing
>                 problem .
> 
>                    ERROR:core:append_branch: max nr of branches exceeded
>                    ERROR:registrar:lookup: failed to append a branch
> 
> 
>                 These error message is getting printed continuously.
> 
> 
>                 Please help me how to fix this . How I will increase the
>                 number of branches and how does it work ?
> 
> 
>                 */Thanks & Regards/*
>                 /Sasmita Panda/
>                 /Network Testing and Software Engineer/
>                 /3CLogic , ph:07827611765/
> 
> 
>                 _______________________________________________
>                 Users mailing list
>                 Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>                 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>                 <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> 
> 
>             -- 
>             Răzvan Crainea
>             OpenSIPS Core Developer
>             http://www.opensips-solutions.com
>             <http://www.opensips-solutions.com>
> 
>             _______________________________________________
>             Users mailing list
>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>             <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com



More information about the Users mailing list