To
An example of the header is shown below:
To: <sip:101@10.132.10.128;user=phone>
The header properties are shown in the following table:
|
Header Level Action |
Add |
Delete |
Modify |
List Entries |
|---|---|---|---|---|
|
Operations Supported |
No |
No |
No |
NA |
|
Keyword |
Sub Types |
Attributes |
|---|---|---|
|
Name |
String |
Read/Write |
|
Param |
Param |
Read/Write |
|
tag |
String |
Read Only |
|
URL |
URL Structure (see URL) |
Read/Write |
Below are header manipulation examples:
|
Example 1 |
Rule: |
Set the user phone Boolean to be false in the To header's URL:
|
||||||||||||
|
Result: |
To: <sip:101@10.132.10.128> |
|||||||||||||
|
Example 2 |
Rule: |
Change the URL in the To header:
|
||||||||||||
|
Result: |
To: <sip:101@10.20.30.60:65100> |
|||||||||||||
|
Example 3 |
Rule: |
Set the display name to 'Bob':
|
||||||||||||
|
Result: |
To: "Bob D" sip:101@10.20.30.60:65100 |
|||||||||||||
|
Example 4 |
Rule: |
Add a proprietary parameter to all To headers:
|
||||||||||||
|
Result: |
To: "Bob D" <sip:101@10.20.30.60:65100>;artist=singer |