Service-Route

An example of the header is shown below:

Service-Route: <sip:P2.HOME.EXAMPLE.COM;lr>, <sip:HSP.HOME.EXAMPLE.COM;lr>

The header properties are shown in the following table:

Header Level Action

Add

Delete

Modify

List Entries

Operations Supported

Yes

Yes

Yes

7

Keyword

Sub Types

Attributes

ServiceRoute

String

Read/Write

Below are header manipulation examples:

Example 1

Rule:

Add two Service-Route headers:

MessageManipulations 1 = 1, Invite,  ,header.service-route, 0, '<P2.HOME.EXAMPLE.COM;lr>', 0;

MessageManipulations 2 = 1, Invite,  ,header.service-route, 0, '<sip:HSP.HOME.EXAMPLE.COM;lr>', 0;

Result:

Service-Route:<P2.HOME.EXAMPLE.COM;lr>
Service-Route: <sip:HSP.HOME.EXAMPLE.COM;lr>

Example 2

Rule:

Modify the Service-Route header in list entry 1:

MessageManipulations 3 = 1, Invite,  ,header.service-route.1.serviceroute, 2, '<sip:itsp.com;lr>', 0;

Result:

Service-Route:sip:itsp.com;lr
Service-Route: <sip:HSP.HOME.EXAMPLE.COM;lr>

Example 3

Rule:

Modify the Service-Route header in list entry 0:

MessageManipulations 4 = 1, Invite,  ,header.service-route.0.serviceroute, 2, '<sip:home.itsp.com;lr>', 0;

Result:

Service-Route:sip:home.itsp.com;lr
Service-Route: <sip:itsp.com;lr>