Thank you for your answer. Configured the following (with mhomed=yes):
if ($(route_uri{uri.host}) == VIP_PROXY) {
force_send_socket(VIP_PROXY);
} else if ($(route_uri{uri.host}) == VIP_PROXY_PUB) {
force_send_socket(VIP_PROXY_PUB);
} else if ($(route_uri{uri.host}) == THIS_PROXY) {
force_send_socket(THIS_PROXY);
} else if ($(route_uri{uri.host}) == THIS_PROXY_PUB) {
force_send_socket(THIS_PROXY_PUB);
}
t_relay();
...
This solves the issue when using the VIP_PROXY(_PUB). However, the ACK always has two route headers when using the THIS_PROXY as ip address. In this case, the top route header is VIP_PROXY; the second one is THIS_PROXY. Hence, the solution above doesn't
work, because the force_send_socket uses the top route header (which is VIP_PROXY).
Why is this different behavior when compared to mhomed=no?
Thanks,
Ronald