<div dir="ltr">Hi folks,<br><br>I don't want to hijack this topic, but I have a question related with the limited number of branches (12) that Marco pointed out.<br><br>I too am trying to implement a Call Group in a manner similar to what Marino described in his post.<div><br>Currently I have written code that is similar to the one described here:<br><br>                <a href="http://www.kamailio.org/dokuwiki/dokuphp/tutorials:avpops#serial_forking">http://www.kamailio.org/dokuwiki/dokuphp/tutorials:avpops#serial_forking</a><br><br>The only difference is that for each member I call lookup() and then in the failure_route(), I pull the next member from the stack and call lookup() again.  The code works fine when used for groups with less than 12 members.  However, call groups with 12 or more members fails as I can never reach remaining extensions once MAX_BRANCHES limit is reached.<br><br>I've tried another approach using the functions described here:<br><br>                <a href="http://kamailio.org/docs/modules/4.1.x/modules/tm.html#tm.serial_forking">http://kamailio.org/docs/modules/4.1.x/modules/tm.html#tm.serial_forking</a><br><br>but it too uses a new branch for every group member until the 12 limit is reached out.<br><br>I also tried to use the functions "remove_branch(index)" and "clear_branches()" (both of which are poorly documented.  In fact the only reference I ever found for these functions was here: <a href="http://www.kamailio.org/wiki/features/new-in-3.2.x#functions">http://www.kamailio.org/wiki/features/new-in-3.2.x#functions</a>).  Unfortunately, I wasn't able to prevent the MAX_BRANCHES limit from being reached.<br><br>Ultimately, my goal is to have a limitless Call Group.  Do you have any suggestions? (other than increasing the hard coded MAX_BRANCHES limit)<br><br>Thank you,</div><div>Joao Arruda<br><div><div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">2014-09-18 9:20 GMT-03:00 Barthel Marco (CI/AFU1) <span dir="ltr"><<a href="mailto:Marco.Barthel@de.bosch.com" target="_blank">Marco.Barthel@de.bosch.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Keep in mind that the number of parallel branches is limited to 12 branches in config.h<br>
<br>
#define MAX_BRANCHES            12      /*!< maximum number of branches per transaction */<br>
<br>
Mit freundlichen Grüßen / Best regards<br>
<br>
 Marco Barthel<br>
<br>
Robert Bosch GmbH<br>
 (CI/AFU1)<br>
Postfach 30 02 20<br>
70442 Stuttgart<br>
GERMANY<br>
<a href="http://www.bosch.com" target="_blank">www.bosch.com</a><br>
<br>
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;<br>
Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Dr. Volkmar Denner,<br>
Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr. Dirk Hoheisel, Christoph Kübel,<br>
Uwe Raschke, Wolf-Henning Scheider, Dr. Werner Struth, Peter Tyroller<br>
<br>
<br>
> -----Ursprüngliche Nachricht-----<br>
> Von: <a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-">sr-users-bounces@lists.sip-</a><br>
> <a href="http://router.org" target="_blank">router.org</a>] Im Auftrag von Alex Balashov<br>
> Gesendet: Donnerstag, 18. September 2014 12:01<br>
> An: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
> Betreff: Re: [SR-Users] Group call<br>
<div class=""><div class="h5">><br>
> On 09/18/2014 05:59 AM, <a href="mailto:marino.mileti@alice.it">marino.mileti@alice.it</a> wrote:<br>
> > Hi guys,<br>
> ><br>
> > is possible to make a group call with kamailio? Example...i dial 1000<br>
> > and kamailio make a parallel forking to 1001,1002,1003?<br>
> ><br>
> > In case of yes...every group member (1001,1002,1003) will be resolved<br>
> > by "location"? Because some member is natted so RTPPROXY should be<br>
> > engaged<br>
><br>
> Yes; the degree to which this is done automatically be can controlled via the<br>
> following parameters:<br>
><br>
> <a href="http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp77968" target="_blank">http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp77968</a><br>
> <a href="http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp110040" target="_blank">http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp110040</a><br>
><br>
> If you have these set to support multiple parallel branches, lookup() +<br>
> t_relay() should just work "automagically".<br>
><br>
> --<br>
> Alex Balashov - Principal<br>
> Evariste Systems LLC<br>
> Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670">+1-678-954-0670</a><br>
> Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
><br>
> Please be kind to the English language:<br>
><br>
> <a href="http://www.entrepreneur.com/article/232906" target="_blank">http://www.entrepreneur.com/article/232906</a><br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-<br>
> <a href="mailto:users@lists.sip-router.org">users@lists.sip-router.org</a> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div>