ADTRAN AOS Version R10.1.0 Command Reference Manual page 3355

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
set private-variable
Use the set private-variable command to set the value of a private variable to use with Session Initiation
Protocol (SIP) header manipulation rules (HMR) configuration. Private variables are only visible within a
single HMR policy. This command is executed from the HMR Message Rule Set Configuration mode. Use
the no form of this command to delete the variable. Variations of this command include:
set private-variable <name> header <header> position first new-value <pattern>
set private-variable <name> header <header> position first new-value <pattern> <sequence number>
set private-variable <name> header <header> position first new-value <pattern> match-value
<pattern>
set private-variable <name> header <header> position first new-value <pattern> match-value
<pattern> <sequence number>
set private-variable <name> header <header> position first-match new-value <pattern>
set private-variable <name> header <header> position first-match new-value <pattern>
<sequence number>
set private-variable <name> header <header> position first-match new-value <pattern> match-value
<pattern>
set private-variable <name> header <header> position first-match new-value <pattern> match-value
<pattern> <sequence number>
set private-variable <name> header <header> position last new-value <pattern>
set private-variable <name> header <header> position last new-value <pattern> <sequence number>
set private-variable <name> header <header> position last new-value <pattern> match-value
<pattern>
set private-variable <name> header <header> position last new-value <pattern> match-value
<pattern> <sequence number>
set private-variable <name> new-value <pattern>
set private-variable <name> new-value <pattern> <sequence number>
set private-variable <name> new-value <pattern> match-value <pattern>
set private-variable <name> new-value <pattern> match-value <pattern> <sequence number>
Syntax Description
<name>
header <header>
position first
position first-match
position last
match-value <pattern>
60000CRG0-35E
Specifies the name of the variable. Variables are referenced in the format
%private.variablename%.
Optional. Specifies whether the optional match pattern applies to the
contents of a SIP header or to the existing contents of the variable.
Available header types are outlined in the Functional Notes below.
Optional. Specifies that the first header of the specified type is used as a
data source for the variable.
Optional. Specifies that the first matching header of the specified header
type, regardless of its position within the message, is used as a data source
for the variable.
Optional. Specifies the last header of the specified type is used as a data
source for the variable.
Optional. Specifies the pattern to be used for matching. This can be a
regular expression or a text string, and can reference variable names.
Copyright © 2012 ADTRAN, Inc.
SIP HMR Command Set
3355

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