Version 6.2
523
February 2011
SIP User's Manual
8. IP Telephony Capabilities
Keyword
Sub Types
Attributes
N/A N/A
N/A
Below are header manipulation examples:
Example 1
Rule:
Remove the User-Agent header:
MessageManipulations 2 = 1, Invite, ,header.user-
agent, 1, "''", 0;
Result:
The header is removed.
Example 2
Rule:
Change the user agent name in the header:
MessageManipulations 3 = 1, Invite, ,header.user-
agent, 2, "'itsp analogue gateway'", 0;
Result:
User-Agent: itsp analog gateway
8.4.9.2.28 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 as shown in the table below:
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>
Summary of Contents for Mediant 800 MSBG
Page 2: ......
Page 366: ...SIP User s Manual 366 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 372: ...SIP User s Manual 372 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 390: ...SIP User s Manual 390 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 404: ...SIP User s Manual 404 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 616: ...SIP User s Manual 616 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 636: ...SIP User s Manual 636 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 652: ...SIP User s Manual 652 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...
Page 886: ...SIP User s Manual 886 Document LTRT 12804 Mediant 800 MSBG Reader s Notes ...