SIP 300 Multiple Choices vs 406 Not Acceptable
SIP 300 (Multiple Choices) is a 3xx Redirection response, while 406 (Not Acceptable) is a 4xx Client Failure response. 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. In contrast, 406 means that the resource identified by the request is only capable of generating responses with content characteristics not acceptable according to the Accept header.
Описание
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 resource identified by the request is only capable of generating responses with content characteristics not acceptable according to the Accept header.
Когда вы это видите
When content negotiation fails — the server cannot produce a response matching the Accept header fields in the request.
Как исправить
Review the Accept headers in your request and broaden the acceptable content types.
Ключевые различия
300 is a 3xx Redirection response, while 406 is a 4xx Client Failure response.
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 406: The resource identified by the request is only capable of generating responses with content characteristics not acceptable according to the Accept header.
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 406 when when content negotiation fails — the server cannot produce a response matching the Accept header fields in the request.
Когда что использовать
For 300 (Multiple Choices): Select one of the provided Contact addresses and resend the request to that specific URI. For 406 (Not Acceptable): Review the Accept headers in your request and broaden the acceptable content types.