P-Preferred-Identity
An example of the header is shown below:
P-Preferred-Identity: "Cullen Jennings" <sip:fluffy@abc.com>
The header properties are shown in the following table:
Header Level Action |
Add |
Delete |
Modify |
List Entries |
---|---|---|---|---|
Operations Supported |
Yes |
Yes |
Yes |
2 |
Keyword |
Sub Types |
Attributes |
---|---|---|
Name |
String |
Read/Write |
URL |
URL Structure (see URL) |
Read/Write |
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> |