SIP 180 Ringing vs 504 Server Time-out
SIP 180 (Ringing) is a 1xx Provisional response, while 504 (Server Time-out) is a 5xx Server Failure response. 180 indicates that the UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end. 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).
Descrição
The UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end.
Quando você o vê
During call setup when the callee's phone is ringing. You should hear a ringback tone after receiving this response.
Como corrigir
No fix needed — the callee's device is ringing. If the call never connects after ringing, check the callee's device or call forwarding settings.
Descrição
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).
Quando você o vê
When a proxy's request to a downstream server times out. The proxy itself is working, but the next hop is unresponsive.
Como corrigir
Check the downstream server's availability. Verify DNS resolution for the next-hop domain. Consider adjusting transaction timeout values.
Diferenças principais
180 is a 1xx Provisional response, while 504 is a 5xx Server Failure response.
SIP 180: The UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end.
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 180 when during call setup when the callee's phone is ringing. You should hear a ringback tone after receiving this response.
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.
Quando usar qual
For 180 (Ringing): No fix needed — the callee's device is ringing. If the call never connects after ringing, check the callee's device or call forwarding settings. For 504 (Server Time-out): Check the downstream server's availability. Verify DNS resolution for the next-hop domain. Consider adjusting transaction timeout values.