Request-Uri

An example of the header is shown below:

sip:alice:secretword@atlanta.com;transport=tcp
SIP/2.0 486 Busy Here

The header properties are shown in the following table:

Header Level Action

Add

Delete

Modify

List Entries

Operations Supported

No

No

Yes

NA

Keyword

Sub Types

Attributes

Method

String

Read/Write

MethodType

Enum:

5: INVITE
7: BYE
8: OPTIONS
9: ACK
10: CANCEL
11: REGISTER
12: INFO
13: MESSAGE
14: NOTIFY
15: REFER
16: SUBSCRIBE
17: PRACK
18: UPDATE
19: PUBLISH
21: SERVICE

Read/Write

URI

String

Read/Write

URL

URL Structure (see URL)

Read/Write

Below are header manipulation examples:

Example 1

Rule:

Test the Request-URI transport type. If 1 (TCP), then modify the URL portion of the From header:

Message Type: Invite.request
Condition: header.REQUEST-URI.url.user == '101'
Action Subject: header.Remote-Party-Id.url
Action Type: Modify
Action Value: 'sip:3200@1.1.1.1;tusunami=0'

Result:

Remote-Party-ID: <sip:3200@1.1.1.1;tusunami=0>;party=calling;npi=0;ton=0

Example 2

Rule:

If the method type is 5 (INVITE), then modify the Remote-Party-Id header:

Message Type: Invite.request
Condition: header.REQUEST-URI.url.methodtype == '5'
Action Subject: header.Remote-Party-Id.url
Action Type: Modify
Action Value: 'sip:3200@110.18.5.41;tusunami=0'

Result:

Remote-Party-ID: <sip:3200@110.18.5.41;tusunami=0>;party=calling;npi=0;ton=0

Example 3

Rule:

For all request URI's whose method types are 488, modify the message type to a 486:

Message Type: Any
Condition: header.request-uri.methodtype=='488'
Action Subject: header.request-uri.methodtype
Action Type: Modify
Action Value: '486'

Result:

SIP/2.0 486 Busy Here