I'm trying to deploy opensips in a HA environment (pacemaker/corosync) on two
multihomed servers.
server 1: 10.0.1.76
server 2: 10.0.1.77
virtual ip: 10.0.1.75
I was able to get OpenSIPS to start and bind to to the virtual ip by editing
/etc/sysctl.conf:
net.ipv4.ip_nonlocal_bind=1
my opensips.cfg:
listen=udp:10.0.1.75:5060
...
modparam("dispatcher", "ds_ping_from", "sip:[email protected]")
modparam("dispatcher", "ds_probing_sock", "udp:10.0.1.75:5060")
...
The problem is with the dispatcher module - it fails to send the OPTIONS
message, and marks the resource as "P":
The log shows:
opensips1 /usr/local/sbin/opensips[3764]: ERROR:core:udp_send:
sendto(sock,0x7f516e6f7208,323,0,0x7f516e6f5978,16): Invalid argument(22)
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
opensips1 /usr/local/sbin/opensips[3764]: ERROR:tm:msg_send: udp_send failed
How can I fix this?
Thanks,
Matt
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users