Consider the following scenario:
UA---NAT---Proxy1---Proxy2+UsrLoc
User agent UA is behind NAT which send a REGISTER request to Proxy2 but was
instructed to use Proxy1 as the first hub. Which of the two proxies should
rewrite the contact header. Note that Proxy1 does nothing but to forward all
requests to Proxy2, something like:
Route[0] {
check (max_forward_header & message_len);
record_route();
rewritehostport(proxy2:port);
t_relay();
}
Zeus Ng