SIP

SIP 182 Queued vs 513 Message Too Large

SIP 182 (Queued) is a 1xx Provisional response, while 513 (Message Too Large) is a 5xx Server 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, 513 means that the server was unable to process the request since the entire SIP message (not just the body) exceeded the size limit.

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 was unable to process the request since the entire SIP message (not just the body) exceeded the size limit.

Quando você o vê

When the total SIP message (headers + body) is too large. Different from 413 which refers only to the body.

Como corrigir

Reduce the message size by removing unnecessary headers or reducing the SDP size. Consider using UDP-compatible message sizes (< 1300 bytes).

Diferenças principais

1.

182 is a 1xx Provisional response, while 513 is a 5xx Server 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 513: The server was unable to process the request since the entire SIP message (not just the body) exceeded the size limit.

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 513 when when the total SIP message (headers + body) is too large. Different from 413 which refers only to the body.

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 513 (Message Too Large): Reduce the message size by removing unnecessary headers or reducing the SDP size. Consider using UDP-compatible message sizes (< 1300 bytes).

Saiba mais