SIP User's Manual
526
Document #: LTRT-12804
Mediant 800 MSBG
Below are header manipulation examples:
Example 1
Rule:
Set the user phone Boolean to be false in the To header's URL:
MessageManipulations 4 = 1, invite.request, ,
header.to.url.UserPhone, 2, '0', 0;
Result:
To: <sip:101@10.132.10.128>
Example 2
Rule:
Change the URL in the To header:
MessageManipulations
4 = 1, invite.request, ,
header.to.url.UserPhone, 2, '0', 0;
Result:
To: <sip:101@10.20.30.60:65100>
Example 3
Rule:
Set the display name to 'Bob':
MessageManipulations
5 = 1, invite.request, ,
header.to.name, 2, "'Bob'", 0;
Result:
To: "Bob Dylan" sip:101@10.20.30.60:65100
Example 4
Rule:
Add a proprietary parameter to all To headers:
MessageManipulations
6 = 1, invite.request, ,
header.to.param.artist, 0, "'singer'", 0;
Result:
To: "Bob Dylan"
<sip:101@10.20.30.60:65100>;artist=singer
8.4.9.2.33 Unsupported
An example of the header is shown below:
Unsupported: 100rel
The header properties as shown in the table below:
Header Level Action
Add
Delete
Modify
List Entries
Operations Supported
Yes
Yes
Yes
N/A
Keyword
Sub Types
Attributes
N/A N/A
N/A
Below are header manipulation examples:
Example 1
Rule:
Add an Unsupported header to the message:
MessageManipulations 0 = 1, Invite.response,
,header.unsupported, 0, "'early-session,
myUnsupportedHeader'", 0;
Result:
Unsupported: early-session
Example 2
Rule:
Modify the Unsupported header to 'replaces':
MessageManipulations 1 = 1, Invite,
,header.unsupported, 2, "'replaces'", 0;
Result:
Unsupported: replaces
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 ...