SIP

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.

Descripción

The request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests.

Cuándo lo verás

After sending a REFER request for call transfer. The transfer target acknowledges receipt but hasn't completed the transfer yet.

Cómo solucionarlo

Wait for a NOTIFY to learn the outcome of the referred action. If no NOTIFY arrives, check subscription state and network connectivity.

Descripción

The requested resource must be accessed through the proxy given by the Contact header field.

Cuándo lo verás

When the request must be routed through a specific outbound proxy server.

Cómo solucionarlo

Resend the request through the proxy specified in the Contact header of this response.

Diferencias clave

1.

202 is a 2xx Success response, while 305 is a 3xx Redirection response.

2.

SIP 202: The request has been accepted for processing but the processing has not been completed. Used primarily for REFER requests.

3.

SIP 305: The requested resource must be accessed through the proxy given by the Contact header field.

4.

You encounter 202 when after sending a REFER request for call transfer. The transfer target acknowledges receipt but hasn't completed the transfer yet.

5.

You encounter 305 when when the request must be routed through a specific outbound proxy server.

Cuándo usar cada uno

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.

Saber más