SIP 302 Moved Temporarily vs 502 Bad Gateway
SIP 302 (Moved Temporarily) is a 3xx Redirection response, while 502 (Bad Gateway) 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, 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 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.
Когда вы это видите
When a user is temporarily reachable at a different location, such as when traveling or using a different device.
Как исправить
Redirect the current call to the Contact URI provided, but keep the original URI for future requests.
Описание
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.
Ключевые различия
302 is a 3xx Redirection response, while 502 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 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.
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 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 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests. For 502 (Bad Gateway): Check the downstream server's health and configuration. Verify SIP message formatting between the two servers. Review network connectivity.