SIP

SIP 302 Moved Temporarily vs 421 Extension Required

SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 421 (Extension Required) 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, 421 means that the UAS needs a particular extension to process the request but the extension is not listed in the Supported header.

Descrição

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.

Quando você o vê

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

Como corrigir

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

Descrição

The UAS needs a particular extension to process the request but the extension is not listed in the Supported header.

Quando você o vê

When the server requires a specific SIP extension that the client did not indicate support for.

Como corrigir

Add the required extension to the Supported header and ensure your UA implements it. Check the response for which extension is needed.

Diferenças principais

1.

302 is a 3xx Redirection response, while 421 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 421: The UAS needs a particular extension to process the request but the extension is not listed in the Supported header.

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 421 when when the server requires a specific SIP extension that the client did not indicate support for.

Quando usar qual

For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 421 (Extension Required): Add the required extension to the Supported header and ensure your UA implements it. Check the response for which extension is needed.

Saiba mais