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).

เรียนรู้เพิ่มเติม