Discussion:
[SR-Users] Group call
m***@public.gmane.org
2014-09-18 09:59:08 UTC
Permalink
Hi 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
Is there any examples?
BRMarino
Alex Balashov
2014-09-18 10:01:22 UTC
Permalink
Post by m***@public.gmane.org
Hi 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 following parameters:

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/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
Barthel Marco (CI/AFU1)
2014-09-18 12:20:34 UTC
Permalink
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.org
Hi 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-
João Vitor Arruda
2014-09-24 16:09:27 UTC
Permalink
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.org
Hi 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
m***@public.gmane.org
2014-09-18 10:13:37 UTC
Permalink
Thanks Alex
I've checked your suggestion but it seems i've to register all user with same contact (AOR)...for example all registered with 1000-67Ss33kF7G+***@public.gmane.org I can't register all users with same contact because I've to allow "intercom" call inside group.
Is there any other way?





----Messaggio originale----
Da: abalashov-***@public.gmane.org
Data: 18-set-2014 12.01
A: <sr-users-cR8azDVoa3IcDhw6gZKtMWD2FQJk+8+***@public.gmane.org>
Ogg: Re: [SR-Users] Group call
Post by m***@public.gmane.org
Hi 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 following parameters:

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/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
Alex Balashov
2014-09-18 10:24:53 UTC
Permalink
Hi,

If you just want to generically map a URI to a bunch of other URIs, this
might make the most sense:

http://kamailio.org/docs/modules/4.1.x/modules/alias_db.html#idm2736

-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
m***@public.gmane.org
2014-09-18 12:42:23 UTC
Permalink
Hi,
but with alias_db I can specify max 1 contact for a sip alias, while I need more sip contacts for the same alias.
I've tried to add more sip contacts but systems says "Alias already in dbaliases table" :(
----Messaggio originale----
Da: abalashov-***@public.gmane.org
Data: 18-set-2014 12.24
A: <sr-users-cR8azDVoa3IcDhw6gZKtMWD2FQJk+8+***@public.gmane.org>
Ogg: Re: [SR-Users] R: Re: Group call

Hi,

If you just want to generically map a URI to a bunch of other URIs, this
might make the most sense:

http://kamailio.org/docs/modules/4.1.x/modules/alias_db.html#idm2736

-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
Loading...