Prem Sumetpong wrote:
>    When implementing a redirect server - when the server responds with a
> 301 or 302 - where does it gets its information from to be able to respond
> with a 301 or 302 ?? - is it the Contact:xxx; actions=redirect extended
> header from the location server ?? If so - how to determine whether it
> should be 301 or 302 ??

It's going to be a matter of policy.  Maybe the
backend database has some notion of whether a
move is permanent or temporary, and this can
be specified by the user when they enter their
new location.

As a vague aside: I would perhaps not place
_too_ much credence in specific response codes.
Yes, 301 and 302 do have quite nicely defined
semantics in bis-03, but it's the class (3xx)
that is really important; anything else typically
degenerates to a hint.  Thus, if you didn't
know better, I certainly wouldn't consider 300
inappropriate (I've always considered the
default Reason Phrase for 300 [Multiple Choices]
somewhat unfortunate).

HTH,


 - Jo.

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

Reply via email to