[OpenSER-Users] srv load-balancing

toly hippo_big at hotmail.com
Sun May 4 15:47:32 CEST 2008


User dispatcher module, openser does not do load balancing based on SRV
records itself.


Stanisław Pitucha-2 wrote:
> 
> Hi,
> I've got a problem with openser servers and load balancing. Current setup
> contains 2 asterisks and 2 opensers. I've got a srv record xxx for both
> asterisk-1 and asterisk-2 - same priorities and weights.
> Openser's config runs basically:
> 
> rewritehostport("xxx");
> t_relay();
> 
> But all packets go to first host on the list anyways. For example now I
> get this from dns (same order):
> 
> _sip._udp.xxx. 300 IN SRV 1 50 5060 asterisk-2
> _sip._udp.xxx. 300 IN SRV 1 50 5060 asterisk-1
> 
> and got 6 calls on asterisk-2 and none on asterisk-1. If I change the
> order, all calls go to the first host on the list. Shouldn't openser do
> load-balancing in this scenario? I don't use any options in t_relay().
> 
> Thanks for ideas.
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/srv-load-balancing-tp17017757p17046607.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the Users mailing list