SIP 199 Early Dialog Terminated vs 505 Version Not Supported
SIP 199 (Early Dialog Terminated) is a 1xx Provisional response, while 505 (Version Not Supported) is a 5xx Server Failure response. 199 indicates that a UAS can send this to indicate that an early dialog has been terminated. Used when forking results in multiple early dialogs. In contrast, 505 means that the server does not support the SIP protocol version that was used in the request. Currently only SIP/2.0 is standardized.
説明
A UAS can send this to indicate that an early dialog has been terminated. Used when forking results in multiple early dialogs.
このコードが表示される場合
In forked call scenarios when one of the forked branches is cancelled because another branch was answered.
解決方法
No action needed. This is normal behavior in forked call setups. Ensure your UA handles early dialog termination gracefully.
説明
The server does not support the SIP protocol version that was used in the request. Currently only SIP/2.0 is standardized.
このコードが表示される場合
Extremely rare. Would occur if a client sends a request with a SIP version other than 2.0.
解決方法
Ensure your UA uses SIP/2.0 in the request line. This is the only standardized version.
主な違い
199 is a 1xx Provisional response, while 505 is a 5xx Server Failure response.
SIP 199: A UAS can send this to indicate that an early dialog has been terminated. Used when forking results in multiple early dialogs.
SIP 505: The server does not support the SIP protocol version that was used in the request. Currently only SIP/2.0 is standardized.
You encounter 199 when in forked call scenarios when one of the forked branches is cancelled because another branch was answered.
You encounter 505 when extremely rare. Would occur if a client sends a request with a SIP version other than 2.0.
どちらをいつ使うか
For 199 (Early Dialog Terminated): No action needed. This is normal behavior in forked call setups. Ensure your UA handles early dialog termination gracefully. For 505 (Version Not Supported): Ensure your UA uses SIP/2.0 in the request line. This is the only standardized version.