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.

説明

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.

このコードが表示される場合

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

解決方法

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

説明

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

このコードが表示される場合

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

解決方法

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

主な違い

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.

どちらをいつ使うか

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.

詳しく見る