SIP

SIP 202 Accepted vs 380 Alternative Service

SIP 202 (Accepted) is a 2xx Success response, while 380 (Alternative Service) 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, 380 means that the call was not successful but alternative services are possible. The response body contains a description of alternative services.

Description

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

When You See It

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

How to Fix

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

Description

The call was not successful but alternative services are possible. The response body contains a description of alternative services.

When You See It

Rarely seen in practice. Indicates that the request cannot be fulfilled as-is but the user may be reached via an alternative method.

How to Fix

Check the response body for alternative service descriptions and attempt to reach the user through those channels.

Key Differences

1.

202 is a 2xx Success response, while 380 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 380: The call was not successful but alternative services are possible. The response body contains a description of alternative services.

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 380 when rarely seen in practice. Indicates that the request cannot be fulfilled as-is but the user may be reached via an alternative method.

When to Use Which

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 380 (Alternative Service): Check the response body for alternative service descriptions and attempt to reach the user through those channels.

Learn More