<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>I'm trying to deploy opensips in a HA environment (pacemaker/corosync) on two multihomed servers.<br><br>server 1: 10.0.1.76<br>server 2: 10.0.1.77<br>virtual ip: 10.0.1.75<br><br>I was able to get OpenSIPS to start and bind to to the virtual ip by editing /etc/sysctl.conf:<br>net.ipv4.ip_nonlocal_bind=1<br><br><br>my opensips.cfg:<br>
<br>
listen=udp:10.0.1.75:5060<br>...<br>modparam("dispatcher", "ds_ping_from", "sip:proxy@10.0.1.75") <br>modparam("dispatcher", "ds_probing_sock", "udp:10.0.1.75:5060") <br>...<br><br>The problem is with the dispatcher module - it fails to send the OPTIONS message, and marks the resource as "P":<br><br><br>The log shows:<br><br>opensips1 /usr/local/sbin/opensips[3764]: ERROR:core:udp_send: sendto(sock,0x7f516e6f7208,323,0,0x7f516e6f5978,16): Invalid argument(22)<br> opensips1 /usr/local/sbin/opensips[3764]: CRITICAL:core:udp_send: invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net<br> opensips1 /usr/local/sbin/opensips[3764]: ERROR:tm:msg_send: udp_send failed<br><br>How can I fix this?<br><br>Thanks,<br>Matt<br>                                            </div></body>
</html>