SIP 202 Accepted vs 305 Use Proxy
SIP 202 (Accepted) is a 2xx Success response, while 305 (Use Proxy) is a 3xx Redirection 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, 305 means that the requested resource must be accessed through the proxy given by the Contact header field.
Mô tả
The request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests.
Khi bạn thấy mã này
After sending a REFER request for call transfer. The transfer target acknowledges receipt but hasn't completed the transfer yet.
Cách khắc phục
Wait for a NOTIFY to learn the outcome of the referred action. If no NOTIFY arrives, check subscription state and network connectivity.
Mô tả
The requested resource must be accessed through the proxy given by the Contact header field.
Khi bạn thấy mã này
When the request must be routed through a specific outbound proxy server.
Cách khắc phục
Resend the request through the proxy specified in the Contact header of this response.
Sự khác biệt chính
202 is a 2xx Success response, while 305 is a 3xx Redirection response.
SIP 202: The request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests.
SIP 305: The requested resource must be accessed through the proxy given by the Contact header field.
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 305 when when the request must be routed through a specific outbound proxy server.
Khi nào dùng cái nào
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 305 (Use Proxy): Resend the request through the proxy specified in the Contact header of this response.