SIP

SIP 180 Ringing vs 401 Unauthorized

SIP 180 (Ringing) is a 1xx Provisional response, while 401 (Unauthorized) is a 4xx Client Failure response. 180 indicates that the UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end. In contrast, 401 means that the request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.

Description

The UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end.

When You See It

During call setup when the callee's phone is ringing. You should hear a ringback tone after receiving this response.

How to Fix

No fix needed — the callee's device is ringing. If the call never connects after ringing, check the callee's device or call forwarding settings.

Description

The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.

When You See It

When making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.

How to Fix

Resend the request with proper Authorization header containing valid credentials (Digest authentication).

Key Differences

1.

180 is a 1xx Provisional response, while 401 is a 4xx Client Failure response.

2.

SIP 180: The UA receiving the INVITE is trying to alert the user. This response is used to initiate local ringback tone at the caller's end.

3.

SIP 401: The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.

4.

You encounter 180 when during call setup when the callee's phone is ringing. You should hear a ringback tone after receiving this response.

5.

You encounter 401 when when making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.

When to Use Which

For 180 (Ringing): No fix needed — the callee's device is ringing. If the call never connects after ringing, check the callee's device or call forwarding settings. For 401 (Unauthorized): Resend the request with proper Authorization header containing valid credentials (Digest authentication).

Learn More