SIP User's Manual 516 Document #: LTRT-12804
Mediant 800 MSBG
Below are header manipulation examples:
Example 1 Rule:
Add a P-Preferred-Identity header to all messages:
MessageManipulations 1 = 1, any, , header.P-Preferred-
Identity, 0, "'Cullen Jennings <sip:fluffy@abc.com>'",
0;
Result:
P-Preferred-Identity: "Cullen Jennings"
<sip:fluffy@abc.com>
Example 2 Rule:
Modify the display name in the P-Preferred-Identity header:
MessageManipulations 2 = 1, any, , header.P-Preferred-
Identity.name, 2, "'Alice Biloxi'", 0;
Result:
P-Preferred-Identity: "Alice Biloxi"
<sip:fluffy@abc.com>
8.4.9.2.17 Privacy
An example of the header is shown below:
Privacy: none
The header properties as 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 are header manipulation examples:
Example 1 Rule:
Add a Privacy header and set it to 'id':
MessageManipulations 1 = 1, any, , header.Privacy, 0,
"'id'", 0;
Result:
Privacy: id
Example 2 Rule:
If the Privacy header contains id, then add user to the header:
MessageManipulations 3 = 1, any, header.privacy
contains 'id', header.privacy, 2, 'user', 0;
Result:
Privacy: id;user
8.4.9.2.18 Proxy-Require
An example of the header is shown below:
Proxy-Require: sec-agree
The header properties as shown in the table below:
Header Level Action Add Delete Modify List Entries
Operations Supported Yes Yes Yes N/A
Keyword Sub Types Attributes
N/A N/A N/A