SIP

SIP 302 Moved Temporarily vs 488 Not Acceptable Here

SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 488 (Not Acceptable Here) 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, 488 means that the request was understood but the session description (SDP) is not acceptable. The response may contain a list of acceptable media parameters.

Descripción

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.

Cuándo lo verás

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

Cómo solucionarlo

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

Descripción

The request was understood but the session description (SDP) is not acceptable. The response may contain a list of acceptable media parameters.

Cuándo lo verás

When codec negotiation fails — the callee cannot handle any of the codecs offered in the SDP. Common in interop scenarios.

Cómo solucionarlo

Check the Warning header or SDP in the response for acceptable parameters. Add compatible codecs (e.g., G.711 as a fallback) to your offer.

Diferencias clave

1.

302 is a 3xx Redirection response, while 488 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 488: The request was understood but the session description (SDP) is not acceptable. The response may contain a list of acceptable media parameters.

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 488 when when codec negotiation fails — the callee cannot handle any of the codecs offered in the SDP. Common in interop scenarios.

Cuándo usar cada uno

For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 488 (Not Acceptable Here): Check the Warning header or SDP in the response for acceptable parameters. Add compatible codecs (e.g., G.711 as a fallback) to your offer.

Saber más