Hi folks,
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.
I too am trying to implement a Call Group in a manner similar to what
Marino described in his post.
Currently I have written code that is similar to the one described here:
http://www.kamailio.org/dokuwiki/dokuphp/tutorials:avpops#serial_forking
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.
I've tried another approach using the functions described here:
http://kamailio.org/docs/modules/4.1.x/modules/tm.html#tm.serial_forking
but it too uses a new branch for every group member until the 12 limit is
reached out.
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:
http://www.kamailio.org/wiki/features/new-in-3.2.x#functions).
Unfortunately, I wasn't able to prevent the MAX_BRANCHES limit from being
reached.
Ultimately, my goal is to have a limitless Call Group. Do you have any
suggestions? (other than increasing the hard coded MAX_BRANCHES limit)
Thank you,
Joao Arruda
2014-09-18 9:20 GMT-03:00 Barthel Marco (CI/AFU1) <
Post by Barthel Marco (CI/AFU1)Keep in mind that the number of parallel branches is limited to 12 branches in config.h
#define MAX_BRANCHES 12 /*!< maximum number of branches
per transaction */
Mit freundlichen GrÃŒÃen / Best regards
Marco Barthel
Robert Bosch GmbH
(CI/AFU1)
Postfach 30 02 20
70442 Stuttgart
GERMANY
www.bosch.com
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Franz Fehrenbach; GeschÀftsfÌhrung: Dr. Volkmar
Denner,
Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr.
Dirk Hoheisel, Christoph KÃŒbel,
Uwe Raschke, Wolf-Henning Scheider, Dr. Werner Struth, Peter Tyroller
-----UrsprÃŒngliche Nachricht-----
router.org] Im Auftrag von Alex Balashov
Gesendet: Donnerstag, 18. September 2014 12:01
Betreff: Re: [SR-Users] Group call
Post by m***@public.gmane.orgHi guys,
is possible to make a group call with kamailio? Example...i dial 1000
and kamailio make a parallel forking to 1001,1002,1003?
In case of yes...every group member (1001,1002,1003) will be resolved
by "location"? Because some member is natted so RTPPROXY should be
engaged
Yes; the degree to which this is done automatically be can controlled
via the
http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp77968
http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp110040
If you have these set to support multiple parallel branches, lookup() +
t_relay() should just work "automagically".
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
http://www.entrepreneur.com/article/232906
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users