Hi,
I have been investigating distributing incoming/outgoing SIP traffic to behind Kamailio SIP servers in order to scale and other advantages too!.
SRV type distribution is not a good option, it is already tested.
So, I am trying to deploy Kamailio as a *LoadBalancer* in Tier1 , so it distributes traffic backbone Kamilio servers in Tier 2. There is a good presentation as follows, actually I want to implement it. https://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mier...
However, I could not find sample configurations and sample study ! Would you show me sample configurations that Kamailio uses as a Load Balancer if you have it.
Current Kamailio responsibilities in my system are: 1. Registar Server 2. Presence Server 3. Sip proxy server 4. WebSocket
Maybe it will be very good to separate *Registar *Server & *Presence *Server, but could not find sample configurations too.
Best Regards Melek
P.S. If we could collect such configurations, I would share them for community on Github.
Hello,
you find a small sample cfg e.g. in this docs:
https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.e...
Cheers,
Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Melek Oktay Sent: Tuesday, May 18, 2021 10:59 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: [SR-Users] Kamailio as Load Balancer
Hi,
I have been investigating distributing incoming/outgoing SIP traffic to behind Kamailio SIP servers in order to scale and other advantages too!.
SRV type distribution is not a good option, it is already tested.
So, I am trying to deploy Kamailio as a LoadBalancer in Tier1 , so it distributes traffic backbone Kamilio servers in Tier 2. There is a good presentation as follows, actually I want to implement it. https://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mier...
However, I could not find sample configurations and sample study ! Would you show me sample configurations that Kamailio uses as a Load Balancer if you have it.
Current Kamailio responsibilities in my system are: 1. Registar Server 2. Presence Server 3. Sip proxy server 4. WebSocket
Maybe it will be very good to separate Registar Server & Presence Server, but could not find sample configurations too.
Best Regards Melek
P.S. If we could collect such configurations, I would share them for community on Github.
Hi,
Thanks for the reply, but this helps us for distributing traffic backbone Asterisk/FreeSwitch. I am trying to distributing traffic Tier 2 Kamailio There should be path module for load balancer config file for example.
loadmodule "path.so" modparam("path", "use_received", 1)
Sample Topology, I want to implement is as follows. I could not find such a complex topology configurations results of my research.
Kamailio (Tier 1) Load Balancer
Kamailio #1 Kamailio#2 ................... Kamailio#N (Tier 2)
Kindly Regards, Melek
On Tue, May 18, 2021 at 7:12 PM Henning Westerholt hw@skalatan.de wrote:
Hello,
you find a small sample cfg e.g. in this docs:
https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.e...
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
*From:* sr-users sr-users-bounces@lists.kamailio.org *On Behalf Of *Melek Oktay *Sent:* Tuesday, May 18, 2021 10:59 AM *To:* Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org *Subject:* [SR-Users] Kamailio as Load Balancer
Hi,
I have been investigating distributing incoming/outgoing SIP traffic to behind Kamailio SIP servers in order to scale and other advantages too!.
SRV type distribution is not a good option, it is already tested.
So, I am trying to deploy Kamailio as a *LoadBalancer* in Tier1 , so it distributes traffic backbone Kamilio servers in Tier 2. There is a good presentation as follows, actually I want to implement it.
https://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mier...
However, I could not find sample configurations and sample study ! Would you show me sample configurations that Kamailio uses as a Load Balancer if you have it.
Current Kamailio responsibilities in my system are:
- Registar Server
- Presence Server
- Sip proxy server
- WebSocket
Maybe it will be very good to separate *Registar *Server & *Presence *Server, but could not find sample configurations too.
Best Regards
Melek
P.S. If we could collect such configurations, I would share them for community on Github.
Hello,
you probably will not find the configuration that match 100% to your requirements. But there are other example cfgs, also in kamailio source tree in misc/examples.
You can start with something easier (like the mentioned cases), and then e.g., just add the path module and other components.
Alternatively, you can of course also pay somebody to create a cfg that match your requirements.
Cheers,
Henning
-- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
From: Melek Oktay melekoktay@gmail.com Sent: Wednesday, May 19, 2021 7:32 AM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Henning Westerholt hw@skalatan.de Subject: Re: [SR-Users] Kamailio as Load Balancer
Hi,
Thanks for the reply, but this helps us for distributing traffic backbone Asterisk/FreeSwitch. I am trying to distributing traffic Tier 2 Kamailio There should be path module for load balancer config file for example.
loadmodule "path.so" modparam("path", "use_received", 1)
Sample Topology, I want to implement is as follows. I could not find such a complex topology configurations results of my research.
Kamailio (Tier 1) Load Balancer
Kamailio #1 Kamailio#2 ................... Kamailio#N (Tier 2)
Kindly Regards, Melek
On Tue, May 18, 2021 at 7:12 PM Henning Westerholt <hw@skalatan.demailto:hw@skalatan.de> wrote: Hello,
you find a small sample cfg e.g. in this docs:
https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.e...
Cheers,
Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
From: sr-users <sr-users-bounces@lists.kamailio.orgmailto:sr-users-bounces@lists.kamailio.org> On Behalf Of Melek Oktay Sent: Tuesday, May 18, 2021 10:59 AM To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org> Subject: [SR-Users] Kamailio as Load Balancer
Hi,
I have been investigating distributing incoming/outgoing SIP traffic to behind Kamailio SIP servers in order to scale and other advantages too!.
SRV type distribution is not a good option, it is already tested.
So, I am trying to deploy Kamailio as a LoadBalancer in Tier1 , so it distributes traffic backbone Kamilio servers in Tier 2. There is a good presentation as follows, actually I want to implement it. https://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mier...
However, I could not find sample configurations and sample study ! Would you show me sample configurations that Kamailio uses as a Load Balancer if you have it.
Current Kamailio responsibilities in my system are: 1. Registar Server 2. Presence Server 3. Sip proxy server 4. WebSocket
Maybe it will be very good to separate Registar Server & Presence Server, but could not find sample configurations too.
Best Regards Melek
P.S. If we could collect such configurations, I would share them for community on Github.
Hello again Henning,
I'm not looking forward to finding the configuration that will match my requirements. The case studies that will inspire my thought will be very appropriate. This is why I put Daniel's study/presentation about Kamailio LoadBalancer https://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mier... link in original email.
Regards, Melek
On Wed, May 19, 2021 at 9:17 AM Henning Westerholt hw@skalatan.de wrote:
Hello,
you probably will not find the configuration that match 100% to your requirements. But there are other example cfgs, also in kamailio source tree in misc/examples.
You can start with something easier (like the mentioned cases), and then e.g., just add the path module and other components.
Alternatively, you can of course also pay somebody to create a cfg that match your requirements.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
*From:* Melek Oktay melekoktay@gmail.com *Sent:* Wednesday, May 19, 2021 7:32 AM *To:* Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org *Cc:* Henning Westerholt hw@skalatan.de *Subject:* Re: [SR-Users] Kamailio as Load Balancer
Hi,
Thanks for the reply, but this helps us for distributing traffic backbone Asterisk/FreeSwitch. I am trying to distributing traffic Tier 2 Kamailio
There should be path module for load balancer config file for example.
loadmodule "path.so" modparam("path", "use_received", 1)
Sample Topology, I want to implement is as follows. I could not find such a complex topology configurations results of my research.
Kamailio (Tier 1) Load Balancer
Kamailio #1 Kamailio#2 ................... Kamailio#N (Tier 2)
Kindly Regards,
Melek
On Tue, May 18, 2021 at 7:12 PM Henning Westerholt hw@skalatan.de wrote:
Hello,
you find a small sample cfg e.g. in this docs:
https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.e...
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
*From:* sr-users sr-users-bounces@lists.kamailio.org *On Behalf Of *Melek Oktay *Sent:* Tuesday, May 18, 2021 10:59 AM *To:* Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org *Subject:* [SR-Users] Kamailio as Load Balancer
Hi,
I have been investigating distributing incoming/outgoing SIP traffic to behind Kamailio SIP servers in order to scale and other advantages too!.
SRV type distribution is not a good option, it is already tested.
So, I am trying to deploy Kamailio as a *LoadBalancer* in Tier1 , so it distributes traffic backbone Kamilio servers in Tier 2. There is a good presentation as follows, actually I want to implement it.
https://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mier...
However, I could not find sample configurations and sample study ! Would you show me sample configurations that Kamailio uses as a Load Balancer if you have it.
Current Kamailio responsibilities in my system are:
- Registar Server
- Presence Server
- Sip proxy server
- WebSocket
Maybe it will be very good to separate *Registar *Server & *Presence *Server, but could not find sample configurations too.
Best Regards
Melek
P.S. If we could collect such configurations, I would share them for community on Github.