ADTRAN AOS Version R10.1.0 Command Reference Manual page 3346

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
match private-variable
Use the match private-variable command to match a Session Initiation Protocol message based on a
previously configured private variable when using SIP header manipulation rules (HMR). Private variables
are configured using the command
remove the variable matching rule from the HMR message rule set. Variations of this command include:
match private-variable <variable>
match private-variable <variable> match-value <pattern>
Syntax Description
<variable>
match-value <pattern>
Default Values
By default, no private variables are configured.
Command History
Release R10.1.0
Functional Notes
If a pattern value is specified, the variable must contain the specified value in order for the rule to be
processed. If the pattern is not specified, the match resolves as true if the variable is defined.
Usage Examples
The following example creates a rule to match the private variable myUnitNumber with a pattern of 253:
(config-rule-set-SET1)#message-rule RULE1 message-type any 5
(config-msg-rule-RULE1)#match private-variable myUnitNumber match-value "253"
60000CRG0-35E
set private-variable on page
Specifies a previously configured variable to use for matching. Variables are
expressed in the format %private.VariableName%.
Optional. Specifies the pattern to be used for matching. This can be a
regular expression or a text string, and can reference variable names. A text
string must be enclosed in quotation marks.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
SIP HMR Command Set
3355. Use the no form of this command to
3346

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents