SIP 302 Moved Temporarily vs 580 Precondition Failure
SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 580 (Precondition Failure) 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, 580 means that the server is unable or unwilling to meet some of the preconditions specified in the request for resource reservation.
説明
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 is unable or unwilling to meet some of the preconditions specified in the request for resource reservation.
このコードが表示される場合
When using QoS preconditions (RFC 3312) and the network cannot guarantee the required quality of service for the media session.
解決方法
Relax the precondition requirements or ensure the network path supports the required QoS. Consider removing precondition requirements for best-effort calls.
主な違い
302 is a 3xx Redirection response, while 580 is a 5xx Server Failure response.
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.
SIP 580: The server is unable or unwilling to meet some of the preconditions specified in the request for resource reservation.
You encounter 302 when when a user is temporarily reachable at a different location, such as when traveling or using a different device.
You encounter 580 when when using QoS preconditions (RFC 3312) and the network cannot guarantee the required quality of service for the media session.
どちらをいつ使うか
For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 580 (Precondition Failure): Relax the precondition requirements or ensure the network path supports the required QoS. Consider removing precondition requirements for best-effort calls.