<div dir="ltr">Hello,<div>I've the same deployment.</div><div><br></div><div>And I don't have any problem,.. but in kamailio.cfg I setted the Virtual IP</div><div><br></div><div>listen=udp:X.X.X.43:5060</div><div><br>
</div><div>At least this is the Ip that should work.</div><div><br></div><div>I hope this help you.</div><div><br></div><div>Regards.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/12 Nguyễn Đức Vinh <span dir="ltr"><<a href="mailto:vinhndk50ca@gmail.com" target="_blank">vinhndk50ca@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all<br>I want to setup IP failover for Kamailio:<br>
<br>
I have 2 hosts A (IP: X.X.X.32) and B (X.X.X.36), with 2 running kamailios.<br>Using Keepalive to setup IP failover as , virtual IP <b>is X.X.X.43</b>.<br><br>On host A, kamailio was binded to <b>listen=udp:<a href="http://0.0.0.0:5060" target="_blank">0.0.0.0:5060</a></b> and host A is MASTER with virtual IP<br>


<br><b>Problem is:</b> Client send REGISTER to X.X.X.43:5060. It recieved 401 respond from X.X.X.32:5060 (actual IP of A), not as expected from X.X.X.43:5060<br><br></div>(To check if keepalived setting OK or not, I have <b>nc -l 5060</b> on host A, and using nc X.X.X.43 5060 on client, wireshark show that responds is from X.X.X.43 -> keepalived work OK<br>


<br></div>Is there any difference between <b>kamailio</b> and <b>nc</b> cause they both bind to 0.0.0.0, but repond on differ IP?  </div><div><br></div>Thanks<br><br></div>Vinh Nguyen<br></div>
<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" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>