SIP Message and Header Restrictions

 

Within the SIP Signaling object is a field labeled Message Restriction Setting. When this field is configured to Option 1, the feature imposes maximum lengths on incoming SIP messages, maximum lengths of the individual headers, and maximum number of specific headers contained within the incoming SIP message. The Tables below display the restrictions that are imposed when Option 1 is selected.

Option 1

SIP Restrictions

Entity - Option 1

Limit

Restrictive Action

Entity - Option 1

Limit

Restrictive Action

Whole Message (Includes TCP/UDP and IP Headers)UDP: IP fragment supported

6048 Bytes

Discard the signal

Whole Message Body (Excluding CRLF)

3000 Bytes

413 Request Entity Too Large

1 Message Body Line

No Restriction

No Restriction

Request Line\Status Line

256 Bytes

400 Bad Request

URI

No Restriction

No Restriction

Default

Limit

Restrictive Action

Whole Message (Excludes TCP/UDP and IP Headers)

6144 Bytes

Discard the signal

Whole Message Body (Excluding CRLF)

No Restriction

No Restriction

1 Message Body Line

No Restriction

No Restriction

Request Line\Status Line

No Restriction

No Restriction

URI

1024 Bytes

414 Request URI Too Long

SIP Header Restrictions

Headers

Limit (Max Bytes, Max Headers) Includes CRLF

Restrictive Action

Headers

Limit (Max Bytes, Max Headers) Includes CRLF

Restrictive Action

Call-ID

136 Bytes, No Limt

400 Bad Request

History-Info

512 Bytes, 6 Max

400 Bad Request

Min-SE

256 Bytes, 1 Max

400 Bad Request

P-Access-Network-Info

640 Bytes, No Limit

400 Bad Request

P-Area-Info

256 Bytes, 1 Max

400 Bad Request

P-Asserty-Identity

256 Bytes, 2 Max

400 Bad Request

P-Called-Party-ID

640 Bytes, No Limit

400 Bad Request

P-Charging-Vector

640 Bytes, 1 Max

400 Bad Request

P-Media-Authorization

640 Bytes, No Limit

400 Bad Request

Privacy

640 Bytes, 6 Max

400 Bad Request

Reason

640 Bytes, No Limit

400 Bad Request

Record-Route

512 Bytes, 6 Max

400 Bad Request

Referred-By

640 Bytes, No Limit

400 Bad Request

Route

512 Bytes, 6 Max

400 Bad Request

Security-Client

640 Bytes, No Limit

400 Bad Request

Security-Verify

640 Bytes, No Limit

400 Bad Request

Session-Expires

256 Bytes, 1 Max

400 Bad Request

Via

512 Bytes, 6 Max

400 Bad Request

X-CONTRACT-ADDR

256 Bytes, 1 Max

400 Bad Request

X-GENERIC-NUM

512 Bytes, 8 Max

400 Bad Request

xxxxx (All other Headers)

256 Bytes, No Limit

400 Bad Request

Default

Headers

Limit (Max Bytes, Max Headers) Includes CRLF

Restrictive Action

Headers

Limit (Max Bytes, Max Headers) Includes CRLF

Restrictive Action

Allow

Unlimited Bytes, No Limit Additional: Data Field is empty

400 Bad Request

Call-ID

Unlimited Bytes, 1 Max Additional: Data Field is empty

400 Bad Request

Contact

Unlimited Bytes, No Limit

400 Bad Request

Content-Disposition

Unlimited Bytes, 1 Max

 

Content-Encoding

Unlimited Bytes, No Limit

 

Content-Language

Unlimited Bytes, 1 Max

 

Content-Length

Unlimited Bytes, 1 Max

 

Content Type

Unlimited Bytes, 1 Max

 

CSeq

Unlimited Bytes, 1 Max

 

Diversion

Unlimited Bytes, No Limit

 

Event

Unlimited Bytes, 1 Max

 

Expires

Unlimited Bytes, No Limit

 

From (Required)

Unlimited Bytes, No Limit

 

Max-Forwards

Unlimited Bytes, No Limit

 

Min-Expires

Unlimited Bytes, No Limit

 

Min-SE

Unlimited Bytes, 1 Max

 

Path

Unlimited Bytes, No Limit

 

P-Asserted-Identity

Unlimited Bytes, No Limit

 

P-Charge-Info

Unlimited Bytes, No Limit

 

P-Preferred-Identity

Unlimited Bytes, No Limit

 

Priority

Unlimited Bytes, No Limit

 

Privacy

Unlimited Bytes, 1 Max

 

Proxy-Require

Unlimited Bytes, No Limit

 

RAck

Unlimited Bytes, 1 Max

 

Reason

Unlimited Bytes, No Limit

 

Refer-To

Unlimited Bytes, 1 Max

 

Referred-By

Unlimited Bytes, 1 Max

 

Remote-Party-ID

Unlimited Bytes, No Limit

 

Replaces

Unlimited Bytes, 1 Max

 

Require

Unlimited Bytes, No Limit

 

Resource-Priority

Unlimited Bytes, No Limit

 

Retry-After

Unlimited Bytes, No Limit

 

RSeq

Unlimited Bytes, 1 Max

 

Session-Expires

Unlimited Bytes, 1 Max

 

Subscription-State

Unlimited Bytes, 1 Max

 

Supported

Unlimited Bytes, No Limit

 

Target-Dialog

Unlimited Bytes, 1 Max

 

To (Required)

Unlimited Bytes, 1 Max

 

User-to-User

Unlimited Bytes, No Limit

 

Via

Unlimited Bytes, No Limit Max

 

Warning

Unlimited Bytes, No Limit

 

X-DLGCIsdnTunnelingInfo

Unlimited Bytes, No Limit

 

 

Return to Documentation Home I Return to Sangoma Support