Request-Uri - AudioCodes Mediant 2000 User Manual

Voip media gateway sip protocol
Hide thumbs Also See for Mediant 2000:
Table of Contents

Advertisement

SIP User's Manual
Keyword
URL
Below are header manipulation examples:
Example 1
Rule:
Result:
Example 2
Rule:
Result:
Example 3
Rule:
Result:
Example 4
Rule:
Result:
C.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 are shown in the table below:
Header Level Action
Operations Supported
Keyword
Method
MethodType
URI
Version 6.4
Sub Types
URL Structure (see ''URL'' on page 635)
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;
Remote-Party-ID:
<sip:999@10.132.10.108>;party=calling;npi=0;ton=0
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;
Remote-Party-ID:
<sip:555@10.132.10.128;user=phone>;party=calling;npi
=0;ton=0
Modify the number plan to 1 (ISDN):
MessageManipulations 1 = 1, invite, , header.Remote-
Party-ID.numberplan, 2, '1', 0;
Remote-Party-ID:
<sip:555@10.132.10.128;user=phone>;party=calling;npi
=1;ton=0
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;
Remote-Party-ID:
<sip:555@10.132.10.128;user=phone>;party=calling;pri
vacy=full;npi=0;ton=0
Add
No
Sub Types
String
Enum
String
C. SIP Message Manipulation Syntax
Delete
Modify
No
Yes
Attributes
623
Attributes
Read/Write
List Entries
NA
Read/Write
Read/Write
Read/Write
November 2011

Advertisement

Table of Contents
loading

Table of Contents