SIP

SIP 100 Trying vs 513 Message Too Large

SIP 100 (Trying) is a 1xx Provisional response, while 513 (Message Too Large) is a 5xx Server 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, 513 means that the server was unable to process the request since the entire SIP message (not just the body) exceeded the size limit.

説明

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 was unable to process the request since the entire SIP message (not just the body) exceeded the size limit.

このコードが表示される場合

When the total SIP message (headers + body) is too large. Different from 413 which refers only to the body.

解決方法

Reduce the message size by removing unnecessary headers or reducing the SDP size. Consider using UDP-compatible message sizes (< 1300 bytes).

主な違い

1.

100 is a 1xx Provisional response, while 513 is a 5xx Server 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 513: The server was unable to process the request since the entire SIP message (not just the body) exceeded the size limit.

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 513 when when the total SIP message (headers + body) is too large. Different from 413 which refers only to the body.

どちらをいつ使うか

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 513 (Message Too Large): Reduce the message size by removing unnecessary headers or reducing the SDP size. Consider using UDP-compatible message sizes (< 1300 bytes).

詳しく見る