SIP

SIP 302 Moved Temporarily vs 500 Server Internal Error

SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 500 (Server Internal Error) is a 5xx Server 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, 500 means that the server encountered an unexpected condition that prevented it from fulfilling the request.

説明

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 server encountered an unexpected condition that prevented it from fulfilling the request.

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

When the SIP server has an internal error — database failure, unhandled exception, or resource exhaustion.

解決方法

Check server logs for the specific error. Common causes include database connectivity issues, configuration errors, or memory exhaustion.

主な違い

1.

302 is a 3xx Redirection response, while 500 is a 5xx Server 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 500: The server encountered an unexpected condition that prevented it from fulfilling the request.

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 500 when when the SIP server has an internal error — database failure, unhandled exception, or resource exhaustion.

どちらをいつ使うか

For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 500 (Server Internal Error): Check server logs for the specific error. Common causes include database connectivity issues, configuration errors, or memory exhaustion.

詳しく見る