<div dir="ltr"><div><div>Hi Daniel,<br><br></div>Thank you a lot!<br><br></div><div>I believe I need to add some config to my Kamailio servers what are behind Load-balancer too, so all communication should be send via Loadbalancer.<br><br></div><div>Maybe you can give me a hint about this part too?<br><br></div><div>Thank you a lot!<br><br></div><div>With kind regards,<br><br></div><div>Jurijs<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-21 13:12 GMT+03:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tuesday 21 July 2015 12:45:02 Jurijs Ivolga wrote:<br>
> Maybe you can share with me full config of your load-balancer? It will be<br>
> really nice if I can take a look on it. I'm very new in kamailio and for me<br>
> is very difficult to complile working config from short code snippets. :)<br>
<br>
See attachment. It is essentially the default config with some shortcuts for<br>
nat detection based on subnet and path support added.<br>
<br>
> You mentioned that you have 2 load-balancer. Does this 2 load-balancers<br>
> share one domain-name?<br>
<br>
Yes. The idea is that:<br>
-smart user agents can use SRV DNS records to do failover<br>
-not so smart user agents use the A DNS record (short ttl, maybe round robin)<br>
-stupid user agents use the ip adress of a loadbalancer by default and the<br>
other as backup<br>
<br>
The actual domain is rewritten before sending to backends.<br>
<br>
> I was thinking to use dispatcher module for load balancing. Do you use<br>
> dispatcher module in your config?<br>
<br>
Yes, you need to loadbalance with dispatcher that the same callid is always<br>
routed to the same backend server.<br>
<br>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>