C.2.32 To - 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
Below is a header manipulation example:
Example 1
Rule:
Result:
Example 2
Rule:
Result:

C.2.32 To

An example of the header is shown below:
To: <sip:101@10.132.10.128;user=phone>
The header properties are shown in the table below:
Header Level Action
Operations Supported
Keyword
Name
Param
tag
URL
Below are header manipulation examples:
Example 1
Rule:
Result:
Example 2
Rule:
Result:
Example 3
Rule:
Result:
Version 6.4
Add a Supported header:
MessageManipulations 1 = 1, Invite, ,header.supported,
0, "'early-session", 0;
Supported: early-session
Set path in the Supported headers options tag:
MessageManipulations 0 = 0, invite, ,
header.supported.path, 0, "true", 0;
Supported: early-session, path
Add
No
String
Param
String
URL Structure (refer to
''URL'' on page 635)
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;
To: <sip:101@10.132.10.128>
Change the URL in the To header:
MessageManipulations 4 = 1, invite.request, ,
header.to.url.UserPhone, 2, '0', 0;
To: <sip:101@10.20.30.60:65100>
Set the display name to 'Bob':
MessageManipulations 5 = 1, invite.request, ,
header.to.name, 2, "'Bob'", 0;
To: "Bob Dylan" sip:101@10.20.30.60:65100
C. SIP Message Manipulation Syntax
Delete
Modify
No
No
Sub Types
629
List Entries
NA
Attributes
Read/Write
Read/Write
Read Only
Read/Write
November 2011

Advertisement

Table of Contents
loading

Table of Contents