SIP

SIP 180 Ringing vs 301 Moved Permanently

SIP 180 (Ringing) is a 1xx Provisional response, while 301 (Moved Permanently) 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, 301 means that the user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

Описание

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 user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

Когда вы это видите

When a user has permanently changed their SIP address. All future calls should be directed to the new URI.

Как исправить

Update your address book or routing tables to use the new Contact URI provided in the response.

Ключевые различия

1.

180 is a 1xx Provisional response, while 301 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 301: The user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

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 301 when when a user has permanently changed their SIP address. All future calls should be directed to the new URI.

Когда что использовать

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 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response.

Узнать больше