SIP 182 Queued vs 504 Server Time-out
SIP 182 (Queued) is a 1xx Provisional response, while 504 (Server Time-out) 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, 504 means that the server did not receive a timely response from an external server it accessed while attempting to process the request. Different from 408 (client timeout).
설명
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 did not receive a timely response from an external server it accessed while attempting to process the request. Different from 408 (client timeout).
이 코드를 보게 되는 경우
When a proxy's request to a downstream server times out. The proxy itself is working, but the next hop is unresponsive.
해결 방법
Check the downstream server's availability. Verify DNS resolution for the next-hop domain. Consider adjusting transaction timeout values.
주요 차이점
182 is a 1xx Provisional response, while 504 is a 5xx Server 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 504: The server did not receive a timely response from an external server it accessed while attempting to process the request. Different from 408 (client timeout).
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 504 when when a proxy's request to a downstream server times out. The proxy itself is working, but the next hop is unresponsive.
언제 어떤 것을 사용할지
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 504 (Server Time-out): Check the downstream server's availability. Verify DNS resolution for the next-hop domain. Consider adjusting transaction timeout values.