As a hotfix we used options
```
tcp_source_ipv4 = IPv4 address
tcp_source_ipv6 = IPv6 address
```
https://www.kamailio.org/wiki/cookbooks/5.4.x/core#tcp_source_ipv4_tcp_source_ipv6
This works if all Kamailio sockets are bound to one IP.
To get it working for multiple IPs we try to make such a
The network source address is important because the Kamailio address is
whitelisted in the ACL.
For me easier to manage this at the socket level, than manage it on the network
OS routing rules.
We now working pull request for this issue.
So we will make a new attempt to discuss via PR.
--
Closed #3486 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3486#event-9578064332
You are receiving this because you are subscribed to this thread.
Message ID: ___
Kamailio (SER) -
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