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.
Descrição
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.
Quando você o vê
When a user has permanently changed their SIP address. All future calls should be directed to the new URI.
Como corrigir
Update your address book or routing tables to use the new Contact URI provided in the response.
Descrição
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.
Quando você o vê
When the user definitively does not exist on any server in the network. The server has authoritative knowledge, not just local.
Como corrigir
The user does not exist. Verify the SIP URI or phone number. Unlike 404, retrying on other servers will not help.
Diferenças principais
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.
Quando usar qual
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.