CHAPTER 21 SIP Message Manipulation
Mediant 4000 SBC | User's Manual
Parameter
Description
[MessageManipulations_
ActionValue]
■
string/<message-element>/<call-param> +
■
string/<message-element>/<call-param>
For example:
■
'itsp.com'
■
header.from.url.user
■
param.call.dst.user
■
param.call.dst.host + '.com'
■
param.call.src.user + '<' + header.from.url.user + '@' +
header.p-asserted-id.url.host + '>'
■
Func.To-Upper(Param.Call.Src.Host)
You can use the built-in syntax editor to help you configure the
field. Click the
Editor
button located alongside the field to open
the Editor, and then simply follow the on-screen instructions.
Note:
Only single quotation marks must be used.
Configuring Message Condition Rules
The Message Conditions table lets you configure up to 500 Message Condition rules. A Message
Condition defines special conditions (requisites) for incoming SIP messages. These rules can be
used as additional matching criteria for the following:
■
Classification rules in the Classification table (see
Configuring Classification Rules
)
■
IP-to-IP routing rules in the IP-to-IP Routing table (see
Configuring SBC IP-to-IP Routing
)
■
Outbound Manipulation rules in the Outbound Manipulations table (see
)
Message Condition rules are configured using the same syntax as that used for Conditions when
configuring Message Manipulation rules in the Message Manipulations table (see
). You can configure simple Message Condition rules, for example,
"header.to.host contains company", meaning SIP messages whose To header has a host part
containing the string "company". You can configure complex rules using the "AND" or "OR"
Boolean operands and also use regular expressions (regex), for example:
■
"body.sdp regex pcmu" can be used to enable routing based on the offered codec (G.711 Mu) in
the incoming SDP message.
■
"body.sdp regex (AVP[0-9||\s]*\s8[\s||\n])" can be used to enable routing based on payload type
8 in the incoming SDP message.
For a description on SIP message manipulation syntax, refer to the
Syntax for SIP
Message Manipulation Reference Guide.
The following procedure describes how to configure Message Condition rules through the Web
interface. You can also configure it through ini file [ConditionTable] or CLI (
configure voip >
sbc routing condition-table
).
➢
To configure a Message Condition rule:
1.
Open the Message Conditions table (
Setup
menu >
Signaling & Media
tab >
Message
Manipulation
folder >
Message Conditions
).
2.
Click
New
; the following dialog box appears:
- 484 -
Summary of Contents for Mediant 4000 SBC
Page 1: ...User s Manual AudioCodes Series of Session Border Controllers SBC Mediant 4000 SBC Version 7 2...
Page 40: ...Part I Getting Started with Initial Connectivity...
Page 48: ...Part II Management Tools...
Page 113: ...Part III General System Settings...
Page 118: ...Part IV General VoIP Configuration...
Page 525: ...Part V Session Border Controller Application...
Page 654: ...Part VI Cloud Resilience Package...
Page 663: ...Part VII High Availability System...
Page 685: ...Part VIII Maintenance...
Page 759: ...Part IX Status Performance Monitoring and Reporting...
Page 844: ...Part X Diagnostics...
Page 888: ...Part XI Appendix...