<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23588">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I am trying to install a Kamailio server
in a HA configuration, with IP's for 3 attached networks. I am using
Keepalived/VRRP to manage the VIP's. I have tested v 4.1.6 and latest
4.2.2</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>I have 3 x listen entries, one for each
network and mhomed=1. Also, for info, we have <CODE
class=language-bash>net.ipv4.ip_nonlocal_bind = 1 in
sysctl.conf</CODE></FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial>listen=udp:my.public.net.46:5060<BR>listen=udp:192.168.106.46:5060<BR>listen=udp:192.168.116.46:5060<BR>mhomed=1<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>I have dispatcher set up to load balance over two
seperate groups of Asterisk servers, one on each private network.
Dispatcher does probing to know which Asterisks are 'alive'.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>When I ran the system, Kamailio/Dispatcher was not
able to send any probing OPTIONS to any Asterisk (normal PINGS work fine in
all networks in/out of Asterisk/Kamailio)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Looking at the log, I see these entries for all 3
networks:</FONT></DIV>
<DIV><FONT size=2 face=Arial>Feb 12 17:28:19 app-srv-dev-1-01
/usr/local/sbin/kamailio[2992]: ERROR: <core> [forward.c:218]:
get_out_socket(): no socket found<BR>Feb 12 17:28:19 app-srv-dev-1-01
/usr/local/sbin/kamailio[2992]: ERROR: <core> [forward.c:220]:
get_out_socket(): no corresponding socket found
for(u<BR>dp:192.168.116.38:5060)<BR>Feb 12 17:28:19 app-srv-dev-1-01
/usr/local/sbin/kamailio[2992]: ERROR: tm [ut.h:345]: uri2dst2(): no
corresponding socket found for "192.168.116.38"<BR> af 2
(udp:192.168.116.38:5060)<BR>Feb 12 17:28:19 app-srv-dev-1-01
/usr/local/sbin/kamailio[2992]: ERROR: tm [uac.c:307]: t_uac_prepare(): t_uac:
no socket found<BR>Feb 12 17:28:19 app-srv-dev-1-01
/usr/local/sbin/kamailio[2992]: ERROR: dispatcher [dispatch.c:2564]:
ds_check_timer(): unable to ping [sip:192.168.1<BR>16.38:5060]<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>I notice from other logging that Kamailio is
receiving and processing incoming OPTIONS messages, and sending appropriate
replies.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Now, this might not be a Kamailio issue, as when I
run the same config with 3 IP's, but NOT using VRRP/Keepalived/Aliased IP's,
everything works normally.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>However, I do need to run this setup in HA, so
would welcome any suggestions as to how I might resolve this
issue.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Kind regards,</FONT></DIV>
<DIV><FONT size=2 face=Arial>Mark Hall</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email has been checked for viruses by Avast antivirus software.
<br><a href="http://www.avast.com/">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</BODY></HTML>