SIP 300 Multiple Choices vs 302 Moved Temporarily
Both SIP 300 (Multiple Choices) and 302 (Moved Temporarily) belong to the 3xx Redirection category. 300 indicates that the address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint. Meanwhile, 302 means 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.
Descrição
The address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint.
Quando você o vê
When a user has multiple registered devices or contact addresses and the server cannot determine which one to use.
Como corrigir
Select one of the provided Contact addresses and resend the request to that specific URI.
Descrição
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.
Quando você o vê
When a user is temporarily reachable at a different location, such as when traveling or using a different device.
Como corrigir
Redirect the current call to the Contact URI provided, but keep the original URI for future requests.
Diferenças principais
SIP 300: The address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint.
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.
You encounter 300 when when a user has multiple registered devices or contact addresses and the server cannot determine which one to use.
You encounter 302 when when a user is temporarily reachable at a different location, such as when traveling or using a different device.
Quando usar qual
For 300 (Multiple Choices): Select one of the provided Contact addresses and resend the request to that specific URI. For 302 (Moved Temporarily): Redirect the current call to the Contact URI provided, but keep the original URI for future requests.