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.
Description
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 You See It
When a user is temporarily reachable at a different location, such as when traveling or using a different device.
How to Fix
Redirect the current call to the Contact URI provided, but keep the original URI for future requests.
Description
The requested resource must be accessed through the proxy given by the Contact header field.
When You See It
When the request must be routed through a specific outbound proxy server.
How to Fix
Resend the request through the proxy specified in the Contact header of this response.
Key Differences
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.
When to Use Which
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.