AudioCodes Mediant 4000 SBC User Manual page 239

Session border controllers
Hide thumbs Also See for Mediant 4000 SBC:
Table of Contents

Advertisement

CHAPTER 16    Services
b.
Assign the above manipulation rules to the relevant IP Groups:
Example 2 - Adding multiple (three) SIP headers called "My-header1", "My-header2" and "My-
header3" to the INVITE that is sent to the SRS:
a.
The example uses regex (regular expression) with manipulation rules for extracting each
header (a comma is used to separate headers).
Parameter
Index
Name
Manipulation Set ID
Message Type
Condition
Action Subject
Action Type
Action Value
Row Rule
Index
Name
Manipulation Set ID
Message Type
Condition
Action Subject
Action Type
Action Value
Row Rule
Index
Name
Manipulation Set ID
Message Type
In the IP Group of the recorded call leg which sends this header, configure the
'Inbound Message Manipulation Set' parameter to 11 (i.e., rule configured in Index 0).
In the IP Group of the SRS, configure the 'Outbound Message Manipulation Set'
parameter to 12 (i.e., rule configured in Index 1).
0
Store headers in var.session
11
Any
Header.My-header1 exists And Header.My-header2 exists And
Header.My-header3 exists
Var.Session.0
Modify
Header.My-header1+','+ Header.My-header2+','+ Header.My-
header3
Use Current Condition
1
Send My-header1 to SRS
12
Invite.Request
Var.Session.0 regex (.*),(.*),(.*)
Header.My-header1
Add
$1
Use Current Condition
2
Send My-header2 to SRS
12
Invite.Request
Value
- 206 -
Mediant 4000 SBC | User's Manual

Advertisement

Table of Contents
loading

Table of Contents