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

Sasmita Panda spanda at 3clogic.com
Mon May 21 07:46:46 EDT 2018


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> 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>
> 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
>>
>> 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
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> --
>> Răzvan Crainea
>> OpenSIPS Core Developer
>>   http://www.opensips-solutions.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180521/6e502beb/attachment.html>


More information about the Users mailing list