SIP 302 Moved Temporarily vs 504 Server Time-out
SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 504 (Server Time-out) is a 5xx Server Failure response. 302 indicates that the callee has temporarily moved to a different address. The client should retry the request at the Contact address but continue using the original URI for future requests. 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).
Descripción
The callee has temporarily moved to a different address. The client should retry the request at the Contact address but continue using the original URI for future requests.
Cuándo lo verás
When a user is temporarily reachable at a different location, such as when traveling or using a different device.
Cómo solucionarlo
Redirect the current call to the Contact URI provided, but keep the original URI for future requests.
Descripción
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).
Cuándo lo verás
When a proxy's request to a downstream server times out. The proxy itself is working, but the next hop is unresponsive.
Cómo solucionarlo
Check the downstream server's availability. Verify DNS resolution for the next-hop domain. Consider adjusting transaction timeout values.
Diferencias clave
302 is a 3xx Redirection response, while 504 is a 5xx Server Failure response.
SIP 302: The callee has temporarily moved to a different address. The client should retry the request at the Contact address but continue using the original URI for future requests.
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 302 when when a user is temporarily reachable at a different location, such as when traveling or using a different device.
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.
Cuándo usar cada uno
For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 504 (Server Time-out): Check the downstream server's availability. Verify DNS resolution for the next-hop domain. Consider adjusting transaction timeout values.