SIP User's Manual
520
Document #: LTRT-12804
Mediant 800 MSBG
Below are header manipulation examples:
Example 1
Rule:
Add a Remote-Party-Id header to the message:
MessageManipulations 0 = 1, invite, ,header.REMOTE-
PARTY-ID, 0,
"'<sip:999@10.132.10.108>;party=calling'", 0;
Result:
Remote-Party-ID:
<sip:999@10.132.10.108>;party=calling;npi=0;ton=0
Example 2
Rule:
Create a Remote-Party-Id header using the url in the From header using
the + operator to concatenate strings:
MessageManipulations 0 = 1, Invite, ,header.REMOTE-
PARTY-ID, 0, "'<'+header.from.url +'>' +
';party=calling'", 0;
Result:
Remote-Party-ID:
<sip:555@10.132.10.128;user=phone>;party=calling;npi=
0;ton=0
Example 3
Rule:
Modify the number plan to 1 (ISDN):
MessageManipulations 1 = 1, invite, , header.Remote-
Party-ID.numberplan, 2, '1', 0;
Result:
Remote-Party-ID:
<sip:555@10.132.10.128;user=phone>;party=calling;npi=
1;ton=0
Example 4
Rule:
Modify the Remote-Party-Id header to set the privacy parameter to 1 (Full):
MessageManipulations 1 = 1, invite, , header.Remote-
Party-ID.privacy, 2, '1', 0;
Result:
Remote-Party-ID:
<sip:555@10.132.10.128;user=phone>;party=calling;priv
acy=full;npi=0;ton=0
8.4.9.2.23 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 as shown in the table below:
Header Level Action
Add
Delete
Modify
List Entries
Operations Supported
No
No
Yes
NA
Keyword
Sub Types
Attributes
Method String
Read/Write
MethodType Enum
Read/Write
URI String
Read/Write
URL
URL Structure (see ''URL''
on page
)
Read/Write
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 ...