<div dir="ltr"><div>My team is very interested in this solution so I tried to size up the effort.  My analysis revealed it would take a major redesign to support this since many static structures, like <font face="courier new,monospace">struct cell</font>, depend on it.  If I'm wrong, we would really like to see this changed to dynamic.</div><div><br></div><div>Bob</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 11:20 AM, Alex Hermann <span dir="ltr"><<a href="mailto:alex@speakup.nl" target="_blank">alex@speakup.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Friday 17 October 2014, Daniel-Constantin Mierla wrote:<br>
> 2) would it make sense to specify the max number of branches per<br>
> transaction, in config, before creating the transaction? The upper limit<br>
> will be the max_branches value from the core.<br>
><br>
> 3) thinking of common cases of what can be forked a lot, I thought that<br>
> we can a simplification of 2) by specifying two limits: one for initial<br>
> requests which are very likely to have many branches (think of initial<br>
> INVITE via LCR or location) and one for requests within dialog which are<br>
> likely to have one or very few branches (e.g., replicating BYE to a peer<br>
> server). Opinions?<br>
<br>
</span>I suggest to skip option 3, as 2 is a superset of it. No need to introduce<br>
another limited interface.<br>
<br>
<br>
I would prefer a different solution though: remove the maximum altogether<br>
and dynamically allocate branch/uac structures. A lot of memory is wasted<br>
now because memory is always allocated for the maximum number of branches<br>
even though they're rarely being used.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Alex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</div></div></blockquote></div><br></div>