Discussion:
[SR-Users] Max serial forks
Muhammad Shahzad
2014-10-16 08:04:17 UTC
Permalink
Hi,

After some testing it appears that kamailio can do maximum 12 serial forks
using transaction manager (tm module). Is it possible to make it
configurable in kamailio.cfg or at least increase it with static higher
value (e.g. 15)?

Thank you.
Daniel-Constantin Mierla
2014-10-16 08:27:24 UTC
Permalink
Hello,
Post by Muhammad Shahzad
Hi,
After some testing it appears that kamailio can do maximum 12 serial
forks using transaction manager (tm module). Is it possible to make it
configurable in kamailio.cfg or at least increase it with static
higher value (e.g. 15)?
you have to recompile/reinstall kamailio after changing the value for
define MAX_BRANCHES in config.h

Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Olle E. Johansson
2014-10-16 08:42:42 UTC
Permalink
Post by Daniel-Constantin Mierla
Hello,
Post by Muhammad Shahzad
Hi,
After some testing it appears that kamailio can do maximum 12 serial
forks using transaction manager (tm module). Is it possible to make it
configurable in kamailio.cfg or at least increase it with static
higher value (e.g. 15)?
you have to recompile/reinstall kamailio after changing the value for
define MAX_BRANCHES in config.h
Since this keeps coming up, maybe we should try to make this configurable.

/O
Muhammad Shahzad
2014-10-16 09:17:21 UTC
Permalink
Yes, making it configurable will be really cool.

Thank you so much for your help.
Post by Olle E. Johansson
Post by Daniel-Constantin Mierla
Hello,
Post by Muhammad Shahzad
Hi,
After some testing it appears that kamailio can do maximum 12 serial
forks using transaction manager (tm module). Is it possible to make it
configurable in kamailio.cfg or at least increase it with static
higher value (e.g. 15)?
you have to recompile/reinstall kamailio after changing the value for
define MAX_BRANCHES in config.h
Since this keeps coming up, maybe we should try to make this configurable.
/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Daniel-Constantin Mierla
2014-10-17 09:24:57 UTC
Permalink
Done -- use the master branch and see:

- https://www.kamailio.org/wiki/cookbooks/devel/core#max_branches

Should be easy to cherry-pick the two commits in branch 4.2, given there
were no other changes meanwhile.

Feedback would be very useful to see if it works properly.

I will send a different email to present more about this.

Cheers,
Daniel
Post by Muhammad Shahzad
Yes, making it configurable will be really cool.
Thank you so much for your help.
On 16 Oct 2014, at 10:27, Daniel-Constantin Mierla
Post by Daniel-Constantin Mierla
Hello,
Post by Muhammad Shahzad
Hi,
After some testing it appears that kamailio can do maximum 12
serial
Post by Daniel-Constantin Mierla
Post by Muhammad Shahzad
forks using transaction manager (tm module). Is it possible to
make it
Post by Daniel-Constantin Mierla
Post by Muhammad Shahzad
configurable in kamailio.cfg or at least increase it with static
higher value (e.g. 15)?
you have to recompile/reinstall kamailio after changing the
value for
Post by Daniel-Constantin Mierla
define MAX_BRANCHES in config.h
Since this keeps coming up, maybe we should try to make this
configurable.
/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Muhammad Shahzad
2014-10-17 10:00:57 UTC
Permalink
Great. I am upgrading a couple of dev servers right now to test this.

Thank you.



On Fri, Oct 17, 2014 at 11:24 AM, Daniel-Constantin Mierla <
Post by Daniel-Constantin Mierla
- https://www.kamailio.org/wiki/cookbooks/devel/core#max_branches
Should be easy to cherry-pick the two commits in branch 4.2, given there
were no other changes meanwhile.
Feedback would be very useful to see if it works properly.
I will send a different email to present more about this.
Cheers,
Daniel
Yes, making it configurable will be really cool.
Thank you so much for your help.
Post by Olle E. Johansson
Post by Daniel-Constantin Mierla
Hello,
Post by Muhammad Shahzad
Hi,
After some testing it appears that kamailio can do maximum 12 serial
forks using transaction manager (tm module). Is it possible to make it
configurable in kamailio.cfg or at least increase it with static
higher value (e.g. 15)?
you have to recompile/reinstall kamailio after changing the value for
define MAX_BRANCHES in config.h
Since this keeps coming up, maybe we should try to make this configurable.
/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Muhammad Shahzad
2014-10-17 23:51:51 UTC
Permalink
OK, i have done some testing in various possible scenarios and it seems to
work fine.

Can you merge this to 4.2 branch so i can upgrade my production servers
with stable release?

Thank you.
Post by Muhammad Shahzad
Great. I am upgrading a couple of dev servers right now to test this.
Thank you.
On Fri, Oct 17, 2014 at 11:24 AM, Daniel-Constantin Mierla <
Post by Daniel-Constantin Mierla
- https://www.kamailio.org/wiki/cookbooks/devel/core#max_branches
Should be easy to cherry-pick the two commits in branch 4.2, given there
were no other changes meanwhile.
Feedback would be very useful to see if it works properly.
I will send a different email to present more about this.
Cheers,
Daniel
Yes, making it configurable will be really cool.
Thank you so much for your help.
Post by Olle E. Johansson
Post by Daniel-Constantin Mierla
Hello,
Post by Muhammad Shahzad
Hi,
After some testing it appears that kamailio can do maximum 12 serial
forks using transaction manager (tm module). Is it possible to make it
configurable in kamailio.cfg or at least increase it with static
higher value (e.g. 15)?
you have to recompile/reinstall kamailio after changing the value for
define MAX_BRANCHES in config.h
Since this keeps coming up, maybe we should try to make this
configurable.
/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Loading...