I don't think this has to do anything with kamailio source code. It is about IP
routing rules in the OS/kernel.
If the sip headers have the expected addresses based on listen socket, then kamailio
selected what it should.
As noted on other issues here and mailing list discussions, for tcp is not really
guaranteed that the source address of a tcp connection can be enforced, ultimately is the
kernel/os stack making the decision.
If you want to discuss more, probably sr-users mailing list is more appropriate. If it
results in discovering some code issue, then an issue can be created and it can be
patched.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3486#issuecomment-1598543439
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3486/1598543439(a)github.com>