SIP 300 Multiple Choices vs 380 Alternative Service
Both SIP 300 (Multiple Choices) and 380 (Alternative Service) 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, 380 means that the call was not successful but alternative services are possible. The response body contains a description of alternative services.
描述
The address in the request resolved to several choices, each with its own location. The user or UA can select a preferred communication endpoint.
何时出现
When a user has multiple registered devices or contact addresses and the server cannot determine which one to use.
如何修复
Select one of the provided Contact addresses and resend the request to that specific URI.
描述
The call was not successful but alternative services are possible. The response body contains a description of alternative services.
何时出现
Rarely seen in practice. Indicates that the request cannot be fulfilled as-is but the user may be reached via an alternative method.
如何修复
Check the response body for alternative service descriptions and attempt to reach the user through those channels.
主要区别
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 380: The call was not successful but alternative services are possible. The response body contains a description of alternative services.
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 380 when rarely seen in practice. Indicates that the request cannot be fulfilled as-is but the user may be reached via an alternative method.
何时使用哪个
For 300 (Multiple Choices): Select one of the provided Contact addresses and resend the request to that specific URI. For 380 (Alternative Service): Check the response body for alternative service descriptions and attempt to reach the user through those channels.