SIP

SIP 301 Moved Permanently vs 604 Does Not Exist Anywhere

SIP 301 (Moved Permanently) is a 3xx Redirection response, while 604 (Does Not Exist Anywhere) 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, 604 means that the server has authoritative information that the user indicated in the Request-URI does not exist anywhere. Unlike 404, this is a definitive, global statement.

描述

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 server has authoritative information that the user indicated in the Request-URI does not exist anywhere. Unlike 404, this is a definitive, global statement.

何时出现

When the user definitively does not exist on any server in the network. The server has authoritative knowledge, not just local.

如何修复

The user does not exist. Verify the SIP URI or phone number. Unlike 404, retrying on other servers will not help.

主要区别

1.

301 is a 3xx Redirection response, while 604 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 604: The server has authoritative information that the user indicated in the Request-URI does not exist anywhere. Unlike 404, this is a definitive, global statement.

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 604 when when the user definitively does not exist on any server in the network. The server has authoritative knowledge, not just local.

何时使用哪个

For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 604 (Does Not Exist Anywhere): The user does not exist. Verify the SIP URI or phone number. Unlike 404, retrying on other servers will not help.

了解更多