2010/10/21 Juha Heinanen jh@tutpro.com:
i argued that requests should be routed by proxy on r-uri only.
Hi, this is not true in all cases. For example when a user sip:alice@dom.com sends a PUBLISH with presence information, the RURI MUST also si sip:alice@dom.com, so if the proxy routes it to the locations of Alice there would be a crazy loop.
The proxy must be ready to route a request not just based on the RURI but also on the method and also on the Event type (a PUBLISH for "presence" must be routed to the presence server while a PUBLISH for "dialog" must be routed to some other server).