Hello,

I haven't investigated further, but the sendto() failed when attempting to send to a random IP in the same subnetwork. So practically t_relay() fails, not UDP packet with the SIP request is sent out. My assumption was that the kernel/ip stack does ip/port detection with icmp befpre sending udp in the same subnetwork. It might be due to operating system config or maybe kernel module. You will have to try yourself and see what happens -- maybe on latest debian stable or centos.

Daniel

On 09.05.20 07:26, Sergey Safarov wrote:
HI.
Could you help me understand this maillist message.
https://lists.kamailio.org/pipermail/sr-dev/2020-April/056608.html

Is that mean - on modern kernel with correct settings Kamailio, sendto() will failĀ after ICMP message and then Kamailio is able send INVITE to other destination?
Sergey

_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla