SIP

SIP 182 Queued vs 415 Unsupported Media Type

SIP 182 (Queued) is a 1xx Provisional response, while 415 (Unsupported Media Type) is a 4xx Client Failure response. 182 indicates that the called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available. In contrast, 415 means that the server is refusing the request because the message body is in a format not supported by the server for the requested method.

Descripción

The called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available.

Cuándo lo verás

In call center or queuing scenarios where the callee is busy but the system holds the call in a queue.

Cómo solucionarlo

Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them.

Descripción

The server is refusing the request because the message body is in a format not supported by the server for the requested method.

Cuándo lo verás

When the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.

Cómo solucionarlo

Check the Accept header in the response to see supported media types. Use a compatible Content-Type in your request.

Diferencias clave

1.

182 is a 1xx Provisional response, while 415 is a 4xx Client Failure response.

2.

SIP 182: The called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available.

3.

SIP 415: The server is refusing the request because the message body is in a format not supported by the server for the requested method.

4.

You encounter 182 when in call center or queuing scenarios where the callee is busy but the system holds the call in a queue.

5.

You encounter 415 when when the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.

Cuándo usar cada uno

For 182 (Queued): Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them. For 415 (Unsupported Media Type): Check the Accept header in the response to see supported media types. Use a compatible Content-Type in your request.

Saber más