SIP

SIP 181 Call Is Being Forwarded vs 413 Request Entity Too Large

SIP 181 (Call Is Being Forwarded) is a 1xx Provisional response, while 413 (Request Entity Too Large) is a 4xx Client Failure response. 181 indicates that a proxy server may send this to indicate that the call is being forwarded to a different set of destinations. 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.

描述

A proxy server may send this to indicate that the call is being forwarded to a different set of destinations.

何时出现

When the callee has call forwarding enabled and the request is being redirected to another number or device.

如何修复

No action needed. The call is being redirected. If forwarding is unintended, the callee should update their forwarding settings.

描述

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.

181 is a 1xx Provisional response, while 413 is a 4xx Client Failure response.

2.

SIP 181: A proxy server may send this to indicate that the call is being forwarded to a different set of destinations.

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 181 when when the callee has call forwarding enabled and the request is being redirected to another number or device.

5.

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

何时使用哪个

For 181 (Call Is Being Forwarded): No action needed. The call is being redirected. If forwarding is unintended, the callee should update their forwarding settings. For 413 (Request Entity Too Large): Reduce the size of the message body. For SDP, minimize codec offers or remove unnecessary attributes.

了解更多