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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1998#issuecomment-508124694
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev