Sadly, the branches are tracked in a 32-bit number, so you can't make it to 40. (We
use 30 at Penn, having found a couple bits reserved.)
We've done some preliminary work trying to migrate this to a 64-bit, but it's not
complete, and we're not actively working on it any longer.
-- Jorj
On Mar 7, 2014, at 8:38 AM, Camila Troncoso <ctroncoso(a)redvoiss.net>
wrote:
Juha,
I tried increasing the number of MAX BRANCHES, but when I compiled and
restarted kamailio it gave this error:
tm [tm.c:744]: Too many max UACs for UAC branch_bm_t bitmap: 40
ERROR: <core> [sr_module.c:932]: init_mod(): Error while initializing
module tm (/usr/local/lib64/kamailio/modules/tm.so)
Then I had to change it to 24 MAX BRANCHES , and kamailio started ok.
Is there a limit of MAX BRANCHES ? I need to increase the value near 40
branches.
Regards,
Camila
-----Mensaje original-----
De: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] En nombre de Juha Heinanen
Enviado el: sábado, 22 de febrero de 2014 18:16
Para: Kamailio (SER) - Users Mailing List
Asunto: [SR-Users] 500 Forking capacity exceeded (12/SL)
Camila Troncoso writes:
If one gateway is full, busy, down or answers
with any failed response
to LCR , I jump to the next gateway in the list. I´m presenting the
problem that its stops jumping after 12 gateways and returns the
message 500 Forking capacity exceeded (12/SL). I need to increase this
limit , so all the gateways in the list give the call a try.
try increasing
config.h:#define MAX_BRANCHES 12 /*!< maximum number of
branches per transaction */
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users