SIP 300 Multiple Choices vs 305 Use Proxy
Both SIP 300 (Multiple Choices) and 305 (Use Proxy) 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, 305 means that the requested resource must be accessed through the proxy given by the Contact header field.
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 requested resource must be accessed through the proxy given by the Contact header field.
Quando você o vê
When the request must be routed through a specific outbound proxy server.
Como corrigir
Resend the request through the proxy specified in the Contact header of this response.
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 305: The requested resource must be accessed through the proxy given by the Contact header field.
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 305 when when the request must be routed through a specific outbound proxy server.
Quando usar qual
For 300 (Multiple Choices): Select one of the provided Contact addresses and resend the request to that specific URI. For 305 (Use Proxy): Resend the request through the proxy specified in the Contact header of this response.