2010/4/14 Klaus Darilion klaus.mailinglists@pernau.at:
Hi!
Kamailio does not forward the received 503 response but instead generates a new 500 response. Failure routes are not activated.
Is this a feature or a bug?
A RFC 3261 feature:
16.7 Response Processing
6. Choosing the best response (page 110)
A proxy which receives a 503 (Service Unavailable) response SHOULD NOT forward it upstream unless it can determine that any subsequent requests it might proxy will also generate a 503. In other words, forwarding a 503 means that the proxy knows it cannot service any requests, not just the one for the Request- URI in the request which generated the 503. If the only response that was received is a 503, the proxy SHOULD generate a 500 response and forward that upstream.