SIP

SIP 180 Ringing vs 302 Moved Temporarily

SIP 180 (Ringing) is a 1xx Provisional response, while 302 (Moved Temporarily) is a 3xx Redirection response. 180 indicates that the UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end. In contrast, 302 means 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.

描述

The UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end.

何时出现

During call setup when the callee's phone is ringing. You should hear a ringback tone after receiving this response.

如何修复

No fix needed — the callee's device is ringing. If the call never connects after ringing, check the callee's device or call forwarding settings.

描述

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.

主要区别

1.

180 is a 1xx Provisional response, while 302 is a 3xx Redirection response.

2.

SIP 180: The UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end.

3.

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.

4.

You encounter 180 when during call setup when the callee's phone is ringing. You should hear a ringback tone after receiving this response.

5.

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

何时使用哪个

For 180 (Ringing): No fix needed — the callee's device is ringing. If the call never connects after ringing, check the callee's device or call forwarding settings. For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests.

了解更多