On Wed, 2008-09-24 at 13:03 -0400, Kathleen Eccles wrote: > > > This behavior will probably require that we distinguish more clearly > > > between external requests/responses and > > > those generated internally by the proxy. > > > > I'd like more discussion of why this is needed. > For instance, what happens if a 404 response is returned from > downstream? Is that preferred over a 408 on another fork? Is a > registrar 404 preferred over a 408 on a different fork? > > A timeout causes an internal 408 and cancels all other forks. These > forks then return 487. Should those 487 be preferred over the real > cause (timeout)?
I assume you mean "a timeout of a fork" here. My belief is that when a fork times out, the proxy should send a CANCEL to that fork and proceed to send the request to the next serial fork target, but the proxy will not synthesize a response for the fork -- the CANCEL should elicit a 487 response. Now if the transaction as a whole times out, then we should send upstream the best response we've gotten so far, or a 408 if we haven't gotten any failure responses yet. Dale _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
