P-Asserted-Identity
An example of the header is shown below:
P-Asserted-Identity: Jane Doe <sip:567@itsp.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 |
---|---|---|
URL |
URL Structure (see URL) |
Read/Write |
Name |
String |
Read/Write |
Below are header manipulation examples:
Example 1 |
Rule: |
Add a P-Asserted-Id header to all INVITE messages: MessageManipulations 2 = 1, invite, , header.p-asserted-identity, 0, '<sip:567@itsp.com>', 0; |
Result: |
P-Asserted-Identity: <sip:567@itsp.com> |
|
Example 2 |
Rule: |
Modify the P-Asserted-Identity host name to be the same as the host name in the To header: MessageManipulations 2 = 1, invite, , header.p-asserted-identity.URL.host, 2, header.to.url.host, 0; |
Result: |
P-Asserted-Identity: <sip:567@10.132.10.128> |