SIP

SIP 300 Multiple Choices vs 488 Not Acceptable Here

SIP 300 (Multiple Choices) is a 3xx Redirection response, while 488 (Not Acceptable Here) is a 4xx Client Failure response. 300 indicates that the address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint. 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.

描述

The address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint.

何时出现

When a user has multiple registered devices or contact addresses and the server cannot determine which one to use.

如何修复

Select one of the provided Contact addresses and resend the request to that specific URI.

描述

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

何时出现

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

如何修复

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.

主要区别

1.

300 is a 3xx Redirection response, while 488 is a 4xx Client Failure response.

2.

SIP 300: The address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint.

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 300 when when a user has multiple registered devices or contact addresses and the server cannot determine which one to use.

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.

何时使用哪个

For 300 (Multiple Choices): Select one of the provided Contact addresses and resend the request to that specific URI. 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.

了解更多