Remote-Party-Id
An example of the header is shown below:
Remote-Party-ID: "John Smith" <sip:john.smith@itsp.com>;party=calling; privacy=full;screen=yes
The header properties are shown in the following table:
|
Header Level Action |
Add |
Delete |
Modify |
List Entries |
|---|---|---|---|---|
|
Operations Supported |
Yes |
Yes |
Yes |
3 |
|
Keyword |
Sub Types |
Attributes |
|---|---|---|
|
Counter |
Integer |
Read/Write |
|
Name |
String |
Read/Write |
|
NumberPlan |
Enum Number Plan (see Number Plan) |
Read/Write |
|
NumberType |
Enum Number Type (see Number Type) |
Read/Write |
|
Param |
Param |
Read/Write |
|
Privacy |
Enum Privacy (see Privacy) |
Read/Write |
|
Reason |
Enum Reason (RPI) (see Reason (Remote-Party-Id)) |
Read/Write |
|
Screen |
Enum Screen (see Screen) |
Read/Write |
|
ScreenInd |
Enum ScreenInd (see ScreenInd) |
Read/Write |
|
URL |
URL Structure (see URL) |
Read/Write |
Below are header manipulation examples:
|
Example 1 |
Rule: |
Add a Remote-Party-Id header to the message:
|
||||||||||||
|
Result: |
Remote-Party-ID: <sip:999@10.132.10.108>;party=calling;npi=0;ton=0 |
|||||||||||||
|
Example 2 |
Rule: |
Create a Remote-Party-Id header using the url in the From header using the + operator to concatenate strings:
|
||||||||||||
|
Result: |
Remote-Party-ID: <sip:555@10.132.10.128;user=phone>;party=calling;npi=0;ton=0 |
|||||||||||||
|
Example 3 |
Rule: |
Modify the number plan to 1 (ISDN):
|
||||||||||||
|
Result: |
Remote-Party-ID: <sip:555@10.132.10.128;user=phone>;party=calling;npi=1;ton=0 |
|||||||||||||
|
Example 4 |
Rule: |
Modify the Remote-Party-Id header to set the privacy parameter to 1 (Full):
|
||||||||||||
|
Result: |
Remote-Party-ID: <sip:555@10.132.10.128;user=phone>;party=calling;privacy=full;npi=0;ton=0 |