SIP 301 Moved Permanently vs 404 Not Found
SIP 301 (Moved Permanently) is a 3xx Redirection response, while 404 (Not Found) is a 4xx Client 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, 404 means that the user specified in the Request-URI does not exist at the domain. The server has authoritative information that the user does not exist.
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 user specified in the Request-URI does not exist at the domain. The server has authoritative information that the user does not exist.
Quando você o vê
When calling a number or SIP address that does not exist on the server. Different from 480 (user exists but is temporarily unavailable).
Como corrigir
Verify the SIP URI or phone number. Check if the user is registered on the correct domain. Ensure the domain is correct.
Diferenças principais
301 is a 3xx Redirection response, while 404 is a 4xx Client 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 404: The user specified in the Request-URI does not exist at the domain. The server has authoritative information that the user does not exist.
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 404 when when calling a number or SIP address that does not exist on the server. Different from 480 (user exists but is temporarily unavailable).
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 404 (Not Found): Verify the SIP URI or phone number. Check if the user is registered on the correct domain. Ensure the domain is correct.