Version 6.4 789 March 2012
SIP User's Manual C. SIP Message Manipulation Syntax
C SIP Message Manipulation Syntax
This section provides a detailed description on the support and syntax for configuring SIP
message manipulation rules. For configuring message manipulation rules, see the
parameter MessageManipulations.
C.1 Actions
The actions that can be done on SIP message manipulation in the Message Manipulations
table are listed in the table below.
Table C-1: Message Manipulation Actions
Action Value
Add 0
Remove 1
Modify 2
Add Prefix 3
Add Suffix 4
Remove Suffix 5
Remove Prefix 6
The maximum length of the value for a manipulation is 299 characters.
C.2 Header Types
C.2.1 Accept
An example of the header is shown below:
Accept: application/sdp
The header properties are shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes No N/A
Keyword Sub Types Attributes
N/A N/A N/A
Below is a header manipulation example:
Rule:
If the supported header does not contain 'mm,100rel,timer,replaces', then in all INVITE
messages add an Accept header:
MessageManipulations 8 = 1, invite, header.supported !=
'mm,100rel,timer,replaces', header.accept, 0, ' application/x-
Result:
Accept: application/x-private