SIP 404 Not Found vs 604 Does Not Exist Anywhere
SIP 404 and 604 both mean the callee was not found, but at different levels of certainty. A 404 means this specific server cannot find the user (they may exist on another server), while a 604 definitively states the user does not exist anywhere in the network.
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.
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
404 is server-local — this domain or registrar has no record of the user, but they might exist elsewhere.
604 is a global assertion — the user definitively does not exist anywhere in the network.
404 is a 4xx (client failure); 604 is a 6xx (global failure) that terminates all forked branches.
A proxy receiving 404 may try other routes or domains; a proxy receiving 604 should stop immediately.
604 is authoritative — only the home domain should return it, as only it can definitively say the user does not exist.
Quando usar qual
Return 404 when a registrar or proxy cannot find the requested user in its local database. Return 604 when the authoritative home domain confirms the user has never existed or has been permanently removed. Use 604 carefully — it tells the entire network to stop looking for this user.