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.
Mô tả
The user specified in the Request-URI does not exist at the domain. The server has authoritative information that the user does not exist.
Khi bạn thấy nó
When calling a number or SIP address that does not exist on the server. Different from 480 (user exists but is temporarily unavailable).
Cách khắc phục
Verify the SIP URI or phone number. Check if the user is registered on the correct domain. Ensure the domain is correct.
Mô tả
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.
Khi bạn thấy nó
When the user definitively does not exist on any server in the network. The server has authoritative knowledge, not just local.
Cách khắc phục
The user does not exist. Verify the SIP URI or phone number. Unlike 404, retrying on other servers will not help.
Sự khác biệt chính
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.
Khi nào dùng cái nào
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.