SIP

SIP 302 Moved Temporarily vs 410 Gone

SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 410 (Gone) is a 4xx Client Failure response. 302 indicates that the callee has temporarily moved to a different address. The client should retry the request at the Contact address but continue using the original URI for future requests. In contrast, 410 means that the requested resource is no longer available at the server and no forwarding address is known. This is expected to be a permanent condition.

Descrição

The callee has temporarily moved to a different address. The client should retry the request at the Contact address but continue using the original URI for future requests.

Quando você o vê

When a user is temporarily reachable at a different location, such as when traveling or using a different device.

Como corrigir

Redirect the current call to the Contact URI provided, but keep the original URI for future requests.

Descrição

The requested resource is no longer available at the server and no forwarding address is known. This is expected to be a permanent condition.

Quando você o vê

When a user account has been permanently deactivated or removed from the server with no forwarding information.

Como corrigir

The user is permanently gone. Remove this URI from your contacts. Unlike 404, the server knows the user once existed here.

Diferenças principais

1.

302 is a 3xx Redirection response, while 410 is a 4xx Client Failure response.

2.

SIP 302: The callee has temporarily moved to a different address. The client should retry the request at the Contact address but continue using the original URI for future requests.

3.

SIP 410: The requested resource is no longer available at the server and no forwarding address is known. This is expected to be a permanent condition.

4.

You encounter 302 when when a user is temporarily reachable at a different location, such as when traveling or using a different device.

5.

You encounter 410 when when a user account has been permanently deactivated or removed from the server with no forwarding information.

Quando usar qual

For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 410 (Gone): The user is permanently gone. Remove this URI from your contacts. Unlike 404, the server knows the user once existed here.

Saiba mais