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.
Description
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.
Quand vous le voyez
When a user has permanently changed their SIP address. All future calls should be directed to the new URI.
Comment résoudre
Update your address book or routing tables to use the new Contact URI provided in the response.
Description
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.
Quand vous le voyez
When the user definitively does not exist on any server in the network. The server has authoritative knowledge, not just local.
Comment résoudre
The user does not exist. Verify the SIP URI or phone number. Unlike 404, retrying on other servers will not help.
Différences clés
301 is a 3xx Redirection response, while 604 is a 6xx Global Failure response.
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.
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.
You encounter 301 when when a user has permanently changed their SIP address. All future calls should be directed to the new URI.
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.
Quand utiliser lequel
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.