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:

Message Type: invite.request
Action Subject: header.to.url.UserPhone
Action Type: Modify
Action Value: '0'

Result:

To: <sip:101@10.132.10.128>

Example 2

Rule:

Change the URL in the To header:

Message Type: invite.request
Action Subject: header.to.url.UserPhone
Action Type: Modify
Action Value: '0'

Result:

To: <sip:101@10.20.30.60:65100>

Example 3

Rule:

Set the display name to 'Bob':

Message Type: invite.request
Action Subject: header.to.name
Action Type: Modify
Action Value: 'Bob'

Result:

To: "Bob D" sip:101@10.20.30.60:65100

Example 4

Rule:

Add a proprietary parameter to all To headers:

Message Type: invite.request
Action Subject: header.to.name
Action Type: Modify
Action Value: 'Bob'

Result:

To: "Bob D" <sip:101@10.20.30.60:65100>;artist=singer