<div dir="auto">Thank you for your answer.<div dir="auto"><br></div><div dir="auto">I forgot to mention, the Probing is being done by the dispatcher module and this is a Kamailio that works without registration </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A quarta, 8/05/2019, 13:04, Duarte Rocha <<a href="mailto:duarterocha91@gmail.com">duarterocha91@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto">Greetings,</div><div dir="auto"><br></div><div dir="auto">I have two Machines with Kamailio in a High Availability  (HA) configuration. Both machines are active and processing calls and both have one HA IP that can jump to the other machine in case of failure.</div><div dir="auto"><br></div><div dir="auto">I also have probing for NAPs configured with each IP as the socket. </div><div dir="auto"><br></div><div dir="auto">So, in each machine i have this configuration : </div><div dir="auto"><br></div><div dir="auto">listen=udp:HA_Address1</div><div dir="auto">listen=udp:HA_Address2</div><div dir="auto"><br></div><div dir="auto">NAP 1 being probed from socket HA_Address1</div><div dir="auto">NAP 1 being probed from socket HA_Address2</div><div dir="auto"><br></div><div dir="auto">I also have /proc/sys/net/ipv4/ip_nonlocal_bind with value 1.</div><div dir="auto"><br></div><div dir="auto">Everything works correctly with this configuration. However when the probing is sent for the NAP' my logs get filled with the same error messages.</div><div dir="auto"><br></div><div dir="auto">udp_send(): sendto(sock, buf: 0x7f2d4c91fa18, len: 340, 0, dst: (xxx.xxx.xxx.xxx:xxx), tolen: 16) - err: Invalid argument (22)</div><div dir="auto">CRITICAL: <core> [core/udp_server.c:602]: udp_send(): invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net</div><div dir="auto">ERROR: tm [../../core/forward.h:219]: msg_send_buffer(): udp_send failed</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">The error happens because it is trying to probe a NAP using a socket that isn't active at the moment in the machine.</div><div dir="auto"><br></div><div dir="auto">Is there a way for this error not to be logged or be disabled without reducing Log Level to suppress CRITICAL errors?</div><div dir="auto">I think this is a standard High Availability configuration. Is there some setting that can disable this kind of errors?</div><div dir="auto"><br></div><div dir="auto">Best Regards,</div><div dir="auto"><br></div><div dir="auto">Duarte Rocha</div></div>
</blockquote></div>