SIP

SIP 100 Trying vs 401 Unauthorized

SIP 100 (Trying) is a 1xx Provisional response, while 401 (Unauthorized) is a 4xx Client Failure response. 100 indicates that the request has been received by the next-hop server and an unspecified action is being taken to process it. The UAC should expect additional responses. In contrast, 401 means that the request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.

Açıklama

The request has been received by the next-hop server and an unspecified action is being taken to process it. The UAC should expect additional responses.

Gördüğünüzde

Immediately after sending an INVITE. The proxy has received the call and is searching for the callee. This is the SIP equivalent of a dial tone.

Nasıl Düzeltilir

No fix needed — this is normal call setup behavior. If stuck on 100 Trying for too long, check network connectivity and proxy configuration.

Açıklama

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

Gördüğünüzde

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

Nasıl Düzeltilir

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

Temel Farklar

1.

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

2.

SIP 100: The request has been received by the next-hop server and an unspecified action is being taken to process it. The UAC should expect additional responses.

3.

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

4.

You encounter 100 when immediately after sending an INVITE. The proxy has received the call and is searching for the callee. This is the SIP equivalent of a dial tone.

5.

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

Hangisini Ne Zaman Kullanmalı

For 100 (Trying): No fix needed — this is normal call setup behavior. If stuck on 100 Trying for too long, check network connectivity and proxy configuration. For 401 (Unauthorized): Resend the request with proper Authorization header containing valid credentials (Digest authentication).

Daha Fazla Öğren