Hi, I need your help because I'm tryng to implement a stateful proxy and I don't know when to
choose and send the best response.


According to RFC 3261, section 16.7:

  As client transactions pass responses to the proxy layer, the
  following processing MUST take place:

  [...]

  6.    When necessary, choose the best final response from the
         response context.

This step is explained as follows:

        A stateful proxy MUST send a final response to a response
        context's server transaction if no final responses have been
        immediately forwarded by the above rules and all client
        transactions in this response context have been terminated.

        [...]

My doubt is when to do that. Is it enough to check this (whether all CT are terminated and no final response have been forwarded) only after a response is received?

I think it is not enough because if a client transaction does not pass any response at all because of any problem, then the "best response" will not be ever sent.

What do you suggest? What about a timer that checks that every some time? What time?

Thank you very much.

_________________________________________________________________
Moda para esta temporada. Ponte al d�a de todas las tendencias. http://www.msn.es/Mujer/moda/default.asp


_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to