SIP 302 Moved Temporarily vs 305 Use Proxy
Both SIP 302 (Moved Temporarily) and 305 (Use Proxy) belong to the 3xx Redirection category. 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. Meanwhile, 305 means that the requested resource must be accessed through the proxy given by the Contact header field.
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 requested resource must be accessed through the proxy given by the Contact header field.
Cuándo lo verás
When the request must be routed through a specific outbound proxy server.
Cómo solucionarlo
Resend the request through the proxy specified in the Contact header of this response.
Diferencias clave
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 305: The requested resource must be accessed through the proxy given by the Contact header field.
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 305 when when the request must be routed through a specific outbound proxy server.
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 305 (Use Proxy): Resend the request through the proxy specified in the Contact header of this response.