ADTRAN AOS Version R10.1.0 Command Reference Manual page 3347

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
match public-variable
Use the match public-variable command to match a Session Initiation Protocol message based on a
previously configured public variable when using SIP header manipulation rules (HMR). Public variables
are configured using the command
remove the variable matching rule from the HMR message rule set. Variations of this command include:
match public-variable <variable>
match public-variable <variable> match-value <pattern>
Syntax Description
<variable>
match-value <pattern>
Default Values
By default, no public 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 public variable myUnitNumber with a pattern of 262:
(config-rule-set-SET1)#message-rule RULE1 message-type any 5
(config-msg-rule-RULE1)#match private-variable myUnitNumber match-value "262"
60000CRG0-35E
set public-variable on page
Specifies a previously configured variable to use for matching. Variables are
expressed in the format %public.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. Text
strings must be enclosed in quotation marks.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
SIP HMR Command Set
3358. Use the no form of this command to
3347

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