<div dir="ltr">Hello Sharad,<div><br></div><div>Whenever OpenSIPS replicate the dialogs among all the nodes then it contains socket parameters for caller and callee. Using these sockets the packets will be sent in both directions. so your all the OpenSIPS node should listen on same ip(Mostly it is Virtual IPs or Elastic IPs). If your OpenSIPS servers listen IPs does not match then OpenSIPS discards the replication due to non listening socket.</div><div><br></div><div>You can follow below steps to configure your system to listen on non-local ip address.</div><div><br></div><div>Edit the line in /etc/sysctl.conf that reads net.ipv4.ip_nonlocal_bind to the following:<br></div><div><br></div><div><i><b>net.ipv4.ip_nonlocal_bind = 1</b><br></i></div><div><br></div><div>and Add listen parameter in opensips.cfg so all the nodes are listening on same IPs.</div><div><br></div><div>Thanks & Regards<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><b>Diptesh Patel</b><div>Software Developer </div><div>Ecosmob Technologies Ltd, </div><div>Ahmedabad</div><div>Mo:<b>+919898962659</b></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 5, 2020 at 6:31 AM Sharad Kumar via Users <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi guys,<br></div><div><br></div><div>We are trying to do dialog replication in openSIPS2.4 cluster and getting this error - <br></div><div>ERROR:dialog:dlg_replicated_create: Replicated dialog doesn't match caller's listening socket udp:<a href="http://10.0.0.21:5060" target="_blank">10.0.0.21:5060</a><br></div><div><br></div><div>Both openSIPS are listening on different IP Addresses subnet and I am well aware of this thing that openSIPS will only do dialog replication if we have common listening interface between 2 instances. Is there any work around to achieve it ? Because we have both instances on AWS. <br></div><div>OpenSIPS 1 - <a href="http://10.0.0.21:5060" target="_blank">10.0.0.21:5060</a><br></div><div>openSIPS 2 - <a href="http://10.0.1.21:5060" target="_blank">10.0.1.21:5060</a><br></div><div>Any help or ideas will be appreciated.<br></div><div><br></div><div>Thanks <br></div><div><div><br></div><div><br></div></div><div><br></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
<br>
<div><font face="Arial" size="2" style="background-color:white" color="#808080"><b>Disclaimer</b></font></div><div><div><span style="background-color:white;color:rgb(128,128,128);font-family:Arial;font-size:small">In addition to generic Disclaimer which you have agreed on our website, any views or opinions presented in this email are solely those of the originator and do not necessarily represent those of the Company or its sister concerns. Any liability (in negligence, contract or otherwise) arising from any third party taking any action, or refraining from taking any action on the basis of any of the information contained in this email is hereby excluded.</span></div></div><div><span style="background-color:white;color:rgb(128,128,128);font-family:Arial;font-size:small"><br></span></div><div><font face="Arial" size="2" style="background-color:white" color="#808080"><b>Confidentiality</b></font></div><div><font face="Arial" size="2" style="background-color:white" color="#808080">This communication (including any attachment/s) is intended only for the use of the addressee(s) and contains information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying of this communication is prohibited. Please inform originator if you have received it in error.</font></div><div><font face="Arial" size="2" style="background-color:white" color="#808080"><br></font></div><div><span style="background-color:white;color:rgb(128,128,128);font-family:Arial;font-size:small"><b>Caution for viruses, malware etc.</b></span></div><div><font face="Arial" size="2" style="background-color:white" color="#808080">This communication, including any attachments, may not be free of viruses, trojans, similar or new contaminants/malware, interceptions or interference, and may not be compatible with your systems. You shall carry out virus/malware scanning on your own before opening any attachment to this e-mail. The sender of this e-mail and Company including its sister concerns shall not be liable for any damage that may incur to you as a result of viruses, incompleteness of this message, a delay in receipt of this message or any other computer problems. </font></div>