[sr-dev] [kamailio/kamailio] core: do not return connection if port does not match (#2307)

Donato Sciarra notifications at github.com
Tue May 5 16:32:12 CEST 2020


When an INVITE comes in, we instruct Kamailio to query a http service to know which clients should receive the INVITE message. If multiple of these "receiver"-clients are running on the same machine (same IP address, but different source port), we see that Kamailio forwards multiple INVITE to one single client (although the clients are listening on different ports!). The problem happens (strangely) only when we run Kamailio in AWS (Fargate) behind a load balancer, we have not observed the issue by using vanilla docker containers.

I am not 100% sure the code in this PR is indeed fixing the issue at the right place but with the patch above everything works fine. 
The above estimation of ~10h is an estimation error on our side, the issue is always reproducible.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2307#issuecomment-624091095
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200505/b5ce4419/attachment.html>


More information about the sr-dev mailing list