SIP

SIP 100 Trying vs 305 Use Proxy

SIP 100 (Trying) is a 1xx Provisional response, while 305 (Use Proxy) is a 3xx Redirection 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, 305 means that the requested resource must be accessed through the proxy given by the Contact header field.

描述

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 requested resource must be accessed through the proxy given by the Contact header field.

何时出现

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

如何修复

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

主要区别

1.

100 is a 1xx Provisional response, while 305 is a 3xx Redirection 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 305: The requested resource must be accessed through the proxy given by the Contact header field.

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 305 when when the request must be routed through a specific outbound proxy server.

何时使用哪个

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 305 (Use Proxy): Resend the request through the proxy specified in the Contact header of this response.

了解更多