Re: [SR-Users] Help with load balancing Kamalio based on DNS

2014-05-28 Thread Daniel-Constantin Mierla
Hello, what you can do is to route the messages to the other proxy if there is no contacts in the local location table, something like: if(!lookup("location") { if(src_ip==_THE_OTHER_KAMAILIO_IP_) { send_reply("404", "Not found"); exit; } $du = "sip:_THE_OTHER_KAMAI

[SR-Users] Help with load balancing Kamalio based on DNS

2014-05-28 Thread Veerabhara Gundu
Hi All, This question might have addressed, but not able to find correct answer in archives and I have spent enough time, so posting here. I want to load balance between 2-3 kamailio servers based on DNS, I don't need to worry about media just trying IM with SIP messages. Configured two servers