SIP 202 Accepted vs 408 Request Timeout
SIP 202 (Accepted) is a 2xx Success response, while 408 (Request Timeout) is a 4xx Client Failure response. 202 indicates that the request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests. In contrast, 408 means that the server could not produce a response within a suitable time. The client may repeat the request without modifications at any later time.
Описание
The request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests.
Когда вы это видите
After sending a REFER request for call transfer. The transfer target acknowledges receipt but hasn't completed the transfer yet.
Как исправить
Wait for a NOTIFY to learn the outcome of the referred action. If no NOTIFY arrives, check subscription state and network connectivity.
Описание
The server could not produce a response within a suitable time. The client may repeat the request without modifications at any later time.
Когда вы это видите
When the callee does not respond within the configured timeout (e.g., phone rings but is never answered, or the endpoint is unreachable).
Как исправить
Check if the callee's device is powered on and registered. Verify network connectivity. Consider adjusting the server's transaction timeout value.
Ключевые различия
202 is a 2xx Success response, while 408 is a 4xx Client Failure response.
SIP 202: The request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests.
SIP 408: The server could not produce a response within a suitable time. The client may repeat the request without modifications at any later time.
You encounter 202 when after sending a REFER request for call transfer. The transfer target acknowledges receipt but hasn't completed the transfer yet.
You encounter 408 when when the callee does not respond within the configured timeout (e.g., phone rings but is never answered, or the endpoint is unreachable).
Когда что использовать
For 202 (Accepted): Wait for a NOTIFY to learn the outcome of the referred action. If no NOTIFY arrives, check subscription state and network connectivity. For 408 (Request Timeout): Check if the callee's device is powered on and registered. Verify network connectivity. Consider adjusting the server's transaction timeout value.