Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Daniel-Constantin Mierla
On 17/04/15 11:25, Daniel Tryba wrote: > On Friday 17 April 2015 11:09:23 Jon Bonilla wrote: >> I had the issue in the past and here's how it was solved: >> >> - When sending your "first" request to the server resolving it by DNS, you >> can store the destination IP in a hash table (callid--> IP)

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Daniel Tryba
On Friday 17 April 2015 11:09:23 Jon Bonilla wrote: > I had the issue in the past and here's how it was solved: > > - When sending your "first" request to the server resolving it by DNS, you > can store the destination IP in a hash table (callid--> IP) using > onsend_route > > The kamailio script

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Daniel Tryba
On Friday 17 April 2015 09:41:55 Cezary Siwek wrote: > http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb > > As we speak, some of our clients reported similar issue when connection > to us using FreeSWITCH and setting weight to 0 seem to resovle the issue > (it was prosposed solution

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Jon Bonilla (Manwe)
El Fri, 17 Apr 2015 09:41:55 +0100 Cezary Siwek escribió: > Hi, > > I haven't tried it mysefl (will probably do it in a near future) but > there is core configuration parameter to be enabled. > http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb > > As we speak, some of our clients re

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-17 Thread Cezary Siwek
Hi, I haven't tried it mysefl (will probably do it in a near future) but there is core configuration parameter to be enabled. http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb As we speak, some of our clients reported similar issue when connection to us using FreeSWITCH and setting

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-16 Thread Daniel Tryba
On Thursday 16 April 2015 17:15:16 Cezary Siwek wrote: > Try setting weight of all your SRV records to 0. Was 1, setting to 0 appears circumvent the problem but also impacts load balancing itself: no loadbalancing is being done. The 1 target to be used appears to be generated from the SRV list

Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher

2015-04-16 Thread Cezary Siwek
Hey, Try setting weight of all your SRV records to 0. Regards, Cezary On 16/04/2015 16:42, Daniel Tryba wrote: The idea is to use SRV records instead of a dispatcher by setting $rd to a DNS SRV enabled host (with all hosts having the same prio and weight). Problem is that when authenticatio