What global parameters did you set for kamailio?
If the issue is reproducible, can you list the tcp connections with:
```
kamctl rpc core.tcp_list
```
and see if what is listed there matches the connection expected to be used?
Also, I understand this happens when forwarding requests, not for routing back replies?
Given that tcp connection id is unique, it would mean that the connection is not found if
the search matches on id but not on port, so a new connection is created?
--
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-624098104