sergey-safarov left a comment (kamailio/kamailio#4290)

In the sanity module documentation, I can see

content length - (128) - checks if the size of the body matches the value from the Content-Length header.

Technically, the SIP message body is equal Content-Length header value. Here is the present trailer, which is not specified in the sanity module description.

When SDP is smaller or bigger than it is specified in the Content-Length header sanity check will properly drop the message because in this case it breaks the RFC. But in this case SIP message is RFC compliant.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4290/2993734191@github.com>