[SR-Users] "maximum number of branches exceeded" after kamalilio restart

Andrew Pogrebennyk apogrebennyk at sipwise.com
Fri Jan 4 10:14:39 CET 2013


Hello,

I'm getting some errors - if I restart kamailio on a live system, the
first call after restart fails with "max nr of branches exceeded".
However, we are not doing append_branch() or anything fancy for that
call at all:

Jan  3 15:26:54 sp1 /usr/sbin/kamailio[8078]: ERROR: <core>
[dset.c:306]: max nr of branches exceeded
Jan  3 15:26:54 sp1 /usr/sbin/kamailio[8078]: ERROR: registrar
[lookup.c:298]: failed to append a branch

Also it appears on the other system with a different config:

Jan  3 17:06:59 sip /usr/sbin/kamailio[7022]: ERROR: tm [t_fwd.c:656]:
ERROR: add_uac: maximum number of branches exceeded
Jan  3 17:06:59 sip /usr/sbin/kamailio[7022]: ERROR: tm [t_fwd.c:1534]:
ERROR: t_forward_nonack: failure to add branches
Jan  3 17:06:59 sip /usr/sbin/kamailio[7022]: ERROR: tm [tm.c:1369]:
ERROR: w_t_relay_to: t_relay_to failed

The second call however goes through and this error does not appear
until the next kamailio restart. What could be the problem here?
P.S. The kamailio version is 3.3.2.

Andrew



More information about the sr-users mailing list