SIP

SIP 182 Queued vs 502 Bad Gateway

SIP 182 (Queued) is a 1xx Provisional response, while 502 (Bad Gateway) 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, 502 means that the server, acting as a gateway or proxy, received an invalid response from a downstream server it accessed in attempting to fulfill the request.

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, acting as a gateway or proxy, received an invalid response from a downstream server it accessed in attempting to fulfill the request.

Quando você o vê

When a SIP proxy receives a malformed or invalid response from the next-hop server. Common in interop scenarios between different vendors.

Como corrigir

Check the downstream server's health and configuration. Verify SIP message formatting between the two servers. Review network connectivity.

Diferenças principais

1.

182 is a 1xx Provisional response, while 502 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 502: The server, acting as a gateway or proxy, received an invalid response from a downstream server it accessed in attempting to fulfill the request.

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 502 when when a SIP proxy receives a malformed or invalid response from the next-hop server. Common in interop scenarios between different vendors.

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 502 (Bad Gateway): Check the downstream server's health and configuration. Verify SIP message formatting between the two servers. Review network connectivity.

Saiba mais