SIP

SIP 301 Moved Permanently vs 603 Decline

SIP 301 (Moved Permanently) is a 3xx Redirection response, while 603 (Decline) is a 6xx Global Failure response. 301 indicates that the user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header. In contrast, 603 means that the callee's machine was contacted successfully but the user explicitly does not wish to or cannot participate. Unlike 600, this may be because the callee doesn't want to communicate, not necessarily

描述

The user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

何时出现

When a user has permanently changed their SIP address. All future calls should be directed to the new URI.

如何修复

Update your address book or routing tables to use the new Contact URI provided in the response.

描述

The callee's machine was contacted successfully but the user explicitly does not wish to or cannot participate. Unlike 600, this may be because the callee doesn't want to communicate, not necessarily because they're busy.

何时出现

When the callee explicitly declines the call. This is an active rejection, not a busy or unavailable state.

如何修复

The callee has declined. Respect their decision. Consider alternative communication methods (email, messaging).

主要区别

1.

301 is a 3xx Redirection response, while 603 is a 6xx Global Failure response.

2.

SIP 301: The user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

3.

SIP 603: The callee's machine was contacted successfully but the user explicitly does not wish to or cannot participate. Unlike 600, this may be because the callee doesn't want to communicate, not necessarily

4.

You encounter 301 when when a user has permanently changed their SIP address. All future calls should be directed to the new URI.

5.

You encounter 603 when when the callee explicitly declines the call. This is an active rejection, not a busy or unavailable state.

何时使用哪个

For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 603 (Decline): The callee has declined. Respect their decision. Consider alternative communication methods (email, messaging).

了解更多