SIP

SIP 100 Trying vs 413 Request Entity Too Large

SIP 100 (Trying) is a 1xx Provisional response, while 413 (Request Entity Too Large) 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, 413 means that the server is refusing to process the request because the message body is larger than the server is willing to accept.

描述

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 server is refusing to process the request because the message body is larger than the server is willing to accept.

何时出现

When sending a SIP message with a body (SDP, XML, etc.) that exceeds the server's size limit.

如何修复

Reduce the size of the message body. For SDP, minimize codec offers or remove unnecessary attributes.

主要区别

1.

100 is a 1xx Provisional response, while 413 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 413: The server is refusing to process the request because the message body is larger than the server is willing to accept.

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 413 when when sending a SIP message with a body (SDP, XML, etc.) that exceeds the server's size limit.

何时使用哪个

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 413 (Request Entity Too Large): Reduce the size of the message body. For SDP, minimize codec offers or remove unnecessary attributes.

了解更多