[OpenSIPS-Users] dispatcher ds_probing_sock with virtual ip

Matt Hamilton mistral9999 at hotmail.com
Sun Dec 25 20:54:06 CET 2011



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:proxy at 10.0.1.75")  
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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111225/54aa936a/attachment.htm>


More information about the Users mailing list