SIP

SIP 100 Trying vs 407 Proxy Authentication Required

SIP 100 (Trying) is a 1xx Provisional response, while 407 (Proxy Authentication Required) 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, 407 means that the client must first authenticate with the proxy. The proxy returns a Proxy-Authenticate header with a challenge.

Описание

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.

Когда вы это видите

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.

Как исправить

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

Описание

The client must first authenticate with the proxy. The proxy returns a Proxy-Authenticate header with a challenge.

Когда вы это видите

When a SIP proxy requires authentication before forwarding the request. Similar to 401 but for proxy servers.

Как исправить

Resend the request with a Proxy-Authorization header containing valid credentials for the proxy.

Ключевые различия

1.

100 is a 1xx Provisional response, while 407 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 407: The client must first authenticate with the proxy. The proxy returns a Proxy-Authenticate header with a challenge.

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 407 when when a SIP proxy requires authentication before forwarding the request. Similar to 401 but for proxy servers.

Когда что использовать

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 407 (Proxy Authentication Required): Resend the request with a Proxy-Authorization header containing valid credentials for the proxy.

Узнать больше