|
-----Original Message----- Dear all, I have several questions regarding 300(Multiple
choices),301(Moved Permanently) and 302(Moved Temporarily) responses that the Redirect
Server sends. (Consider the uesr agent client register 3 locations :L1, L2, and L3) (1) When and under what circumstances is
each response code sent? In other
words, if the user agent client
sends the invite message to the redirect server, what circumstances will invoke
the redirect server to send the
300 response code? Besides, what circumstances will invoke the redirect server
to send the 302 response
code? It seems no differences between 300 and 302 response code. 300 is a general header that indicates
that the user can be contacted at several locations – So has no
conditional use. 302 Would be used
if the server has knowledge that the user can not be serviced currently at the
address in the R-URI + can express time that user can not be serviced by using
an expires header on the returned contacts. Remember that SIP only provides
guidelines for error responses. You
would not be incorrect if you sent a 300 instead of a 302. (2) How will the UA tell the Registrar
that it has already moved TEMPORARILY? What action does the UA take when it
moves temporarily? According
to the
spec and
the books, why
the redirect server always send 302 response
code back to user agent instead of 300 response code? As above, this would be server
(Implementation) specific – you might have a server that monitors
presence of it’s end users and therefore knows
that a user is not available at the endpoint in the R-URI – So offers
alternatives. Chris. Please let me know as soon as possible any suggestions
or ideas regarding this. Thanks and Regards, |
- [Sip-implementors] The 3xx Response Code (Urgent!!!) Yen Cheng
- Chris Boulton
