The policy defined above limits SIP messages to 32,768 characters, headers to 256
characters, bodies to 512 characters, number of headers to 16, and only permits two
bodies. Invalid requests are rejected. Only INVITE and BYE requests are permitted
and there are no restrictions on bodies.
3. Configure the SIP message policy rule as required. See the table below for a
description of each parameter.
4. Click Submit to apply your changes.
5. To save the changes to flash memory, see 'Saving Configuration' on page 324.
Table 17-2: SIP Message Policy Parameters
Parameter Description
Index
[MessagePolicy_Index]
Defines the table index entry.
Max Message Length
[MessagePolicy_MaxMessageLength]
Defines the maximum SIP message length.
The valid value is up to 32,768 characters. The default is
32,768.
Max Header Length
[MessagePolicy_MaxHeaderLength]
Defines the maximum SIP header length.
The valid value is up to 512 characters. The default is 512.
Max Body Length
[MessagePolicy_MaxBodyLength]
Defines the maximum SIP message body length. This is
the value of the Content-Length header.
The valid value is up to 1,024 characters. The default is
1,024.
Max Num Headers
[MessagePolicy_MaxNumHeaders]
Defines the maximum number of SIP headers.
The valid value is any number up to 32. The default is 32.
Max Num Bodies
[MessagePolicy_MaxNumBodies]
Defines the maximum number of bodies (e.g., SDP) in the
SIP message.
The valid value is any number up to 8. The default is 8.
Send Rejection
[MessagePolicy_SendRejection]
Determines whether the device sends a 400 "Bad
Request" response if a message request is rejected.
ï‚§ [0]
then the device sends a response to reject the request.
ï‚§ [1] Policy Drop = The device ignores the message
without sending any response.
Method List
[MessagePolicy_MethodList]
Defines the SIP methods (e.g., INVITE\BYE) to which the
rule applies. The syntax for entering the methods is as
follows:
ï‚§ Methods must be separated by a backslash (\).
ï‚§ The entered value is not case sensitive.
Method List Type
[MessagePolicy_MethodListType]
Determines the policy for the SIP methods.
ï‚§ [0] Policy Blacklist = The specified methods (in the
'Method List' field) are rejected by the policy.
ï‚§ [1] Policy Whitelist = (Default) The specified methods
(in the 'Method List' field) are allowed by the policy.
Body List
[MessagePolicy_BodyList]
Defines the SIP body (i.e., value of the Content-Type
header) to which the rule applies.