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.