[OpenSIPS-Users] Active/Passive with VIP and dynamic routing
Pasan Meemaduma
pasandev at ymail.com
Tue Sep 25 03:24:51 EDT 2018
Hey Alex,
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
modparam("drouting", "replicate_status_to", 1)
modparam("drouting", "accept_replicated_status", 1)
On Tuesday, 25 September 2018, 12:50:41 PM GMT+5:30, vasilevalex <alexei.vasilyev at gmail.com> wrote:
Hello.
We have simple setup with clusterer, 2 servers sharing VIP with keepalived.
Both are active (I want to keep endpoints locations with full sharing
topology). There is mid_registrar on OpenSIPS and some Asterisks behind.
Phones use TLS, TCP and UDP. Asterisks use UDP. Routing to asterisksĀ is
performed by drouting module.
I need an advice.
When OpenSIPS server has no VIP (Passive), so I can disable nathelper ping
to phones (and deleting dead records) by "opensipsctl fifo nh_enable_ping
0", but drouting still wants to check gateways and of course uses first
available udp interface for this (this is VIP). So there are a lot of errors
in logs.
What is the best way to deal with it?
I can put first physical interface and then VIP, but then I have to analyze
incoming protocol everywhere, and force_send_socket for each request.
Is there any other solution?
I think it would be nice to have parameter in drouting module to configure
IP-address or socket used for pinging. If it is NULL - use default behavior.
Or just to have the same MI command to disable checking gateways.
Thanks.
--
Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180925/515d03ae/attachment.html>
More information about the Users
mailing list