<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div>Hey Alex,</div><div><br></div><div>Just checking if you have following params set in your node configs ? It'll make only active nodes being pinging the gws and other one receiving the status. 1 being there is clusterid <br></div><div><br></div><div><span>modparam("drouting", "replicate_status_to", 1)<br>modparam("drouting", "accept_replicated_status", 1)<br><br></span><br></div><div><br></div>
</div><div id="yahoo_quoted_8566955570" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, 25 September 2018, 12:50:41 PM GMT+5:30, vasilevalex <alexei.vasilyev@gmail.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Hello.<br></div><div dir="ltr"><br></div><div dir="ltr">We have simple setup with clusterer, 2 servers sharing VIP with keepalived.<br></div><div dir="ltr">Both are active (I want to keep endpoints locations with full sharing<br></div><div dir="ltr">topology). There is mid_registrar on OpenSIPS and some Asterisks behind.<br></div><div dir="ltr"><br></div><div dir="ltr">Phones use TLS, TCP and UDP. Asterisks use UDP. Routing to asterisks is<br></div><div dir="ltr">performed by drouting module.<br></div><div dir="ltr"><br></div><div dir="ltr">I need an advice. <br></div><div dir="ltr">When OpenSIPS server has no VIP (Passive), so I can disable nathelper ping<br></div><div dir="ltr">to phones (and deleting dead records) by "opensipsctl fifo nh_enable_ping<br></div><div dir="ltr">0", but drouting still wants to check gateways and of course uses first<br></div><div dir="ltr">available udp interface for this (this is VIP). So there are a lot of errors<br></div><div dir="ltr">in logs.<br></div><div dir="ltr"><br></div><div dir="ltr">What is the best way to deal with it?<br></div><div dir="ltr">I can put first physical interface and then VIP, but then I have to analyze<br></div><div dir="ltr">incoming protocol everywhere, and force_send_socket for each request.<br></div><div dir="ltr"><br></div><div dir="ltr">Is there any other solution?<br></div><div dir="ltr"><br></div><div dir="ltr">I think it would be nice to have parameter in drouting module to configure<br></div><div dir="ltr">IP-address or socket used for pinging. If it is NULL - use default behavior.<br></div><div dir="ltr">Or just to have the same MI command to disable checking gateways.<br></div><div dir="ltr"><br></div><div dir="ltr">Thanks.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">--<br></div><div dir="ltr">Sent from: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html</a><br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">Users mailing list<br></div><div dir="ltr"><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br></div><div dir="ltr"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></div>
</div>
</div></div></body></html>