Juha Heinanen writes:
perhaps this could be solved by changing the "winning" algorithm so that in failure route "478" always wins.
i need to check what rfc3261 says about this.
here is what i found:
16.7 Response Processing
6. Choosing the best response
...
Otherwise, the proxy MUST forward a response from the responses stored in the response context. It MUST choose from the 6xx class responses if any exist in the context. If no 6xx class responses are present, the proxy SHOULD choose from the lowest response class stored in the response context. The proxy MAY select any response within that chosen class. The proxy SHOULD give preference to responses that provide information affecting resubmission of this request, such as 401, 407, 415, 420, and 484 if the 4xx class is chosen.
so it would be perfectly ok to select 487 over 486 and looks like it would solve the problem.
- juha