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.

คำอธิบาย

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 call center or queuing scenarios where the callee is busy but the system holds the call in a queue.

วิธีแก้ไข

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

คำอธิบาย

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

เมื่อคุณพบเห็น

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

วิธีแก้ไข

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

ความแตกต่างหลัก

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.

ควรใช้อันไหนเมื่อไร

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.

เรียนรู้เพิ่มเติม