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.

描述

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

何时出现

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

如何修复

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

主要区别

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.

何时使用哪个

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.

了解更多