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.
Mô tả
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.
Khi bạn thấy mã này
In call center or queuing scenarios where the callee is busy but the system holds the call in a queue.
Cách khắc phục
Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them.
Mô tả
The server is refusing the request because the message body is in a format not supported by the server for the requested method.
Khi bạn thấy mã này
When the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.
Cách khắc phục
Check the Accept header in the response to see supported media types. Use a compatible Content-Type in your request.
Sự khác biệt chính
182 is a 1xx Provisional response, while 415 is a 4xx Client Failure response.
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.
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.
You encounter 182 when in call center or queuing scenarios where the callee is busy but the system holds the call in a queue.
You encounter 415 when when the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.
Khi nào dùng cái nào
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.