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.
Descrição
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.
Quando você o vê
In call center or queuing scenarios where the callee is busy but the system holds the call in a queue.
Como corrigir
Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them.
Descrição
The server is refusing the request because the message body is in a format not supported by the server for the requested method.
Quando você o vê
When the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.
Como corrigir
Check the Accept header in the response to see supported media types. Use a compatible Content-Type in your request.
Diferenças principais
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.
Quando usar qual
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.