Like mentioned by comments here, the behavior is as expected by specs, the proxy has to resolve the R-URI address for forwarding. The ACK following 200ok is independent of INVITE transaction (can have also different path than the INVITE, a matter of Record-Route headers).
Use other variants if you want to keep the ip/port of the callee, like a dialog variable, or htable value based on call id and to-tag, or even use set_contact_alias()/handle_ruri_alias() for a solution that doesn't require storage inside kamailio.
I am closing this one, if you want to discuss further about possible solutions, write to sr-users mailing list.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.