Version 7.2 421 Mediant 500L Gateway & E-SBC
User's Manual 19. SIP Message Manipulation
Parameter Description
[MessageManipulations_Action
Value]
The default value is a string (case-insensitive) in the following
syntax:
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 + '>'
Note: Only single quotation marks must be used.
19.2 Configuring Message Condition Rules
The Message Conditions table lets you configure up to 82 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''
on page
677)
IP-to-IP routing rules in the IP-to-IP Routing table (see ''Configuring SBC IP-to-IP
Routing Rules'' on page
685)
Outbound Manipulation rules in the Outbound Manipulations table (see ''Configuring
IP-to-IP Outbound Manipulations'' on page
719)
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
''Configuring SIP Message Manipulation'' on page 415). 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.
Note: For a description on SIP message manipulation syntax, refer to the SIP
Message Manipulations Quick 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).