Hi,

//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?//

    Yes. (Either a response or a timeout)

//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.//

All transactions have a deadline (see table 4 , RFC 3261).

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

no need for a periodic check.

You could consider either a final response or a time-out as a terminate
condition for the client. When you receive a (non-2xx, ofcourse) final
response or if a timeout happens (you could treat this as a resposne too),
save it in the response context, check if all clients have 'terminated'. If
yes,  you can  choose a best response to forward. Else, wait until next
response or timeout.

-Kannan
_________________________________________________________________
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

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

Reply via email to