Hi all
Is there any configuration option in kamailio 3.1 to set the max number of branches?
I have a system that needs to run over 30 times to failure_route and call append_brach() from there. At 11-12 iteractions I get the following errors:
ERROR: tm [t_fwd.c:651]: ERROR: add_uac: maximum number of branches exceeded
ERROR: tm [t_fwd.c:1528]: ERROR: t_forward_nonack: failure to add branches
ERROR: tm [tm.c:1368]: ERROR: w_t_relay_to: t_relay_to failed
ERROR: tm [t_reply.c:965]: ERROR: run_failure_handlers: Error in run_top_route
cheers,
Jon
El Tue, 23 Aug 2011 11:58:51 +0300 Juha Heinanen jh@tutpro.com escribió:
Jon Bonilla (Manwe) writes:
Is there any configuration option in kamailio 3.1 to set the max number of branches?
there is no config option. max branches is a constant in config.h:
#define MAX_BRANCHES 12 /*!< maximum number of branches per tra nsaction */
Thanks Juha. Guess I'll need to rebuild for this server :(
Am 23.08.2011 12:27, schrieb Jon Bonilla (Manwe):
El Tue, 23 Aug 2011 11:58:51 +0300 Juha Heinanen jh@tutpro.com escribió:
Jon Bonilla (Manwe) writes:
Is there any configuration option in kamailio 3.1 to set the max number of branches?
there is no config option. max branches is a constant in config.h:
#define MAX_BRANCHES 12 /*!< maximum number of branches per tra nsaction */
Thanks Juha. Guess I'll need to rebuild for this server :(
IIRC, long time ago there was a maximum of 31 (bitmask with a 32bit data type was used). Maybe this has changed.
regards Klaus
Hola Jon,
It can be changed at config.h:
/* maximum number of branches per transaction */ #define MAX_BRANCHES 12
But not sure if there is some variable in the configuration script.
Saludos JesusR.
El 23/08/2011, a las 11:18, Jon Bonilla (Manwe) escribió:
Hi all
Is there any configuration option in kamailio 3.1 to set the max number of branches?
I have a system that needs to run over 30 times to failure_route and call append_brach() from there. At 11-12 iteractions I get the following errors:
ERROR: tm [t_fwd.c:651]: ERROR: add_uac: maximum number of branches exceeded
ERROR: tm [t_fwd.c:1528]: ERROR: t_forward_nonack: failure to add branches
ERROR: tm [tm.c:1368]: ERROR: w_t_relay_to: t_relay_to failed
ERROR: tm [t_reply.c:965]: ERROR: run_failure_handlers: Error in run_top_route
cheers,
Jon
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Saludos JesusR.
------------------------------------ Jesus Rodriguez VozTelecom Sistemas, S.L. jesusr@voztele.com http://www.voztele.com Tel. 902360305 -------------------------------------