Re: [SR-Users] Load balancing with Kamailio

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 26/09/16 13:27, Nitesh Bansal wrote: > Hello, > > I'm planning on doing some smart load balancing with Kamailio. > We have a distributed network, with multiple Kamailio boxes in > different locations serving as Ingress SBC, > these Kamailio boxes are the entry point for a SIP call and

Re: [SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread David Villasmil
Then you got your answer :) On Thu, Sep 29, 2016 at 4:23 PM Nitesh Bansal wrote: > I don't think I received the previous answer and I apologize if I missed > it. > But, unfortunately dispatcher isn't going to do it for me, I think I need > to > use some external tool and use my perl application

Re: [SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread Nitesh Bansal
I don't think I received the previous answer and I apologize if I missed it. But, unfortunately dispatcher isn't going to do it for me, I think I need to use some external tool and use my perl application with Kamailio to retrieve the data I need and route the call accordingly. Regards, Nitesh On

Re: [SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread Gholamreza Sabery
Why do you repost this question again and again? I think this question has been answered and the module that you need is Dispatcher module: http://www.kamailio.org/docs/modules/4.2.x/modules/dispatcher.html Regards On Thu, Sep 29, 2016 at 12:01 PM, Nitesh Bansal wrote: > Hello, > > I'm planning

Re: [SR-Users] Load balancing with Kamailio

2016-09-26 Thread Olle E. Johansson
> On 26 Sep 2016, at 12:15, NITESH BANSAL wrote: > > > > > > > Hello, > > I'm planning on doing some smart load balancing with Kamailio. > We have a distributed network, with multiple Kamailio boxes in different > locations serving as Ingress SBC, > these Kamailio boxes are the entry po

Re: [SR-Users] Load balancing with Kamailio

2016-09-26 Thread Gholamreza Sabery
Hello, You can use dispatcher module: http://www.kamailio.org/docs/modules/4.2.x/modules/dispatcher.html On Mon, Sep 26, 2016 at 1:37 PM, NITESH BANSAL wrote: > Hello, > > > I'm planning on doing some smart load balancing with Kamailio. > > We have a distributed network, with multiple Kamailio

Re: [SR-Users] Load balancing traffic based on SIP URI

2016-04-04 Thread Alberto Sagredo
r 2016 16:28:02 +0200 > From: alberto.sagr...@avanzada7.com > To: sr-users@lists.sip-router.org > Subject: Re: [SR-Users] Load balancing traffic based on SIP URI > > > Hi Federico. In mi case i have to force some RURIs to a determinate > Asterisk . There was some logic to do

Re: [SR-Users] Load balancing traffic based on SIP URI

2016-04-04 Thread NITESH BANSAL
Thanks guys for your ideas, I finally think that I have an idea on how to do it. Nitesh Date: Fri, 1 Apr 2016 16:28:02 +0200 From: alberto.sagr...@avanzada7.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Load balancing traffic based on SIP URI Hi Federico. In mi case i have to

Re: [SR-Users] Load balancing traffic based on SIP URI

2016-04-01 Thread Alberto Sagredo
Hi Federico. In mi case i have to force some RURIs to a determinate Asterisk . There was some logic to do that instead letting kamailio to handle that situations I haven't tested option 3 , but it must do what you expect i think. Maybe you would need to adjust ds_hash_expire Regards 2016-04-01 1

Re: [SR-Users] Load balancing traffic based on SIP URI

2016-04-01 Thread Federico Cabiddu
Hi, if I understand correctly your problem is that the first INVITE for a specific URI will go to a server and the conference will be instantiated there. Then you must route all the INVITEs from the other participants to the same server, is it right? If this is the case why not use algorithm 3 in d

Re: [SR-Users] Load balancing traffic based on SIP URI

2016-04-01 Thread Alberto Sagredo
I have done something similar as follows if($rU=~"^[0-3][0-9][0-9]$") { $var(valor)=1; } And later.. if(!ds_select_domain("$var(valor)", "4")) { sl_send_reply("500", "Service Unavailable"); xlog("L_INFO","[$fU@$si:$sp]{$rm} Sin destinos disponibles para $rd \n");

Re: [SR-Users] Load Balancing

2011-12-28 Thread Daniel-Constantin Mierla
Hello, adding more info here. I guess the dispatcher from the forked project didn't evolve from the moment of the fork if they added a different module, so I assume it is more or less dispatcher as it was in kamailio 1.4. Meanwhile in kamailio (as we are at version 3.2.1), dispatcher got lot

Re: [SR-Users] Load Balancing

2011-12-28 Thread Alex Balashov
On 12/28/2011 07:21 AM, Ronald Kiel wrote: I understand Kamailio has the Dispatcher-module for load-balancing. OpenSIPS has both a Dispatcher-module and a LB-module, which seems to offer improved functionality. Is there also something like the LB-module in Kamailio? No, there's nothing in Kam

Re: [SR-Users] Load Balancing

2010-12-29 Thread Tim King
Thanks for the reply Daniel. The primary function I am trying to accomplish is to have Kamailio provide Load Balancing and Fail-over for my Free-switch Servers. Here is a brief description of what I am trying to achieve. Call comes in and authenticates to Kamailio Kamailio than routes the call to

Re: [SR-Users] Load Balancing

2010-12-29 Thread Daniel-Constantin Mierla
Hello, On 12/29/10 3:31 PM, Tim King wrote: I have read many examples and it seems I have found several pieces of how to do this but no real example of how to achieve this. I followed this setup guide: http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc Performed this Kamai

Re: [SR-Users] Load Balancing

2010-12-29 Thread Alex Balashov
Dispatcher module. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Dec 29, 2010, at 9:31 AM, Tim King wrote: I have read many examples and it seems I have found

Re: [SR-Users] Load Balancing REDIRECT

2010-07-16 Thread Henning Westerholt
On Tuesday 13 July 2010, dotnetdub wrote: >> we're using a pool of identical kamailio load balancers in front of our >> systems, requests are distributed to it by routing means or DNS. If one of >> this system fails or needs to be removed out of the pool (e.g. for >> maintenance) we just move its I

Re: [SR-Users] Load Balancing REDIRECT

2010-07-13 Thread dotnetdub
On 13 July 2010 14:07, Henning Westerholt wrote: > On Tuesday 13 July 2010, Maw Zin Tun - Real Telekom wrote: > > Actually it doesn't matter for me if it's active-passive as well. Just > need > > to make sure no disaster since my whole SBC is depending on kamailio > > redirect server for passing t

Re: [SR-Users] Load Balancing REDIRECT

2010-07-13 Thread Henning Westerholt
On Tuesday 13 July 2010, Maw Zin Tun - Real Telekom wrote: > Actually it doesn't matter for me if it's active-passive as well. Just need > to make sure no disaster since my whole SBC is depending on kamailio > redirect server for passing traffic. Outbound route selection is mainly > done by mySQL

Re: [SR-Users] Load Balancing REDIRECT

2010-07-13 Thread Maw Zin Tun - Real Telekom
Tun - Real Telekom Cc: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Load Balancing REDIRECT 2010/7/12 Maw Zin Tun - Real Telekom : > Hi, > I started using Kamailio 3.0 as redirect server about 2 months ago, > basically I'm quite new to it. Now I need to change current setu

Re: [SR-Users] Load Balancing REDIRECT

2010-07-13 Thread Iñaki Baz Castillo
2010/7/12 Maw Zin Tun - Real Telekom : > Hi, > I started using Kamailio 3.0 as redirect server about 2 months ago, > basically I'm quite new to it. Now I need to change current setup to > redundant active-active system but I'm struggling where to find > documentation that can lead me to achiving it

Re: [SR-Users] load balancing redirect

2010-04-17 Thread kaiser
it's ok. This is just an issue we found, you can do it anytime you are available. kaiser 在 2010/4/16 上午5:44 時, Iñaki Baz Castillo 寫到: > 2010/4/15 Benjamin Lawetz : >> Hi, >> >> I'm trying to setup Kamailio to act as a load-balancer in front of >> asterisk servers. >> >> I want it to do the fo

Re: [SR-Users] load balancing redirect

2010-04-17 Thread kaiser
it's ok. This is just an issue we found, you can do it anytime you are available. kaiser 在 2010/4/16 上午5:44 時, Iñaki Baz Castillo 寫到: > 2010/4/15 Benjamin Lawetz : >> Hi, >> >> I'm trying to setup Kamailio to act as a load-balancer in front of >> asterisk servers. >> >> I want it to do the f

Re: [SR-Users] load balancing redirect

2010-04-16 Thread Iñaki Baz Castillo
2010/4/16 Benjamin Lawetz : > So if we go with an example > with the dispatcher list set to > sip:10.10.10.1:5060 > sip:10.10.10.2:5060 > > If I receive a destination of j...@10.10.10.3:5060 > And I call dst_select_domain() > it will rewrite it as j...@10.10.10.1:5060 > If I call dst_select_dst() >

Re: [SR-Users] load balancing redirect

2010-04-16 Thread Benjamin Lawetz
Thanks for your help guys.. starting to get a clearer picture On Fri, Apr 16, 2010 at 5:20 AM, Daniel-Constantin Mierla wrote: > - ds_select_domain() updates the domain part of R-URI, therefore the address > selected from dispatcher table is visible in forwarded message > - ds_select_dst() udpate

Re: [SR-Users] load balancing redirect

2010-04-16 Thread Daniel-Constantin Mierla
Hello, On 4/15/10 11:04 PM, Benjamin Lawetz wrote: [...] ds_select_domain (or ds_select_dst ... I having trouble understanding the difference like many people it seems) - ds_select_domain() updates the domain part of R-URI, therefore the address selected from dispatcher table is visible in

Re: [SR-Users] load balancing redirect

2010-04-15 Thread Iñaki Baz Castillo
2010/4/16 Benjamin Lawetz : >> I strongly suggest not to do that. Instead: >> >> - The UA sends an invite to Kamailio >> - Kamailio uses LCR module to randomly select asterik-1 or asterisk-2. >> - Kamailio sends the request to the selected asterisk. >> - If there is a failure (to inspect in failure

Re: [SR-Users] load balancing redirect

2010-04-15 Thread Iñaki Baz Castillo
2010/4/15 Benjamin Lawetz : > Hi, > >  I'm trying to setup Kamailio to act as a load-balancer in front of > asterisk servers. > > I want it to do the following: > - The UA sends an invite to Kamailio > - Kamailio sends a 30x redirect to the UA (dispatcher) > - The UA sends it's invite to the asteri