ADTRAN AOS Version R10.1.0 Command Reference Manual page 3358

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
set public-variable
Use the set public-variable command to set the value of a public variable to use with Session Initiation
Protocol (SIP) header manipulation rules (HMR) configuration. This command is executed from the HMR
Message Rule Set Configuration mode. However, you can also configure public variables using the
command
hmr set public-variable <variable> new-value <pattern> on page
command to delete the variable. Variations of this command include:
set public-variable <name> header <header> position first new-value <pattern>
set public-variable <name> header <header> position first new-value <pattern> <sequence number>
set public-variable <name> header <header> position first new-value <pattern> match-value
<pattern>
set public-variable <name> header <header> position first new-value <pattern> match-value
<pattern> <sequence number>
set public-variable <name> header <header> position first-match new-value <pattern>
set public-variable <name> header <header> position first-match new-value <pattern>
<sequence number>
set public-variable <name> header <header> position first-match new-value <pattern> match-value
<pattern>
set public-variable <name> header <header> position first-match new-value <pattern> match-value
<pattern> <sequence number>
set public-variable <name> header <header> position last new-value <pattern>
set public-variable <name> header <header> position last new-value <pattern> <sequence number>
set public-variable <name> header <header> position last new-value <pattern> match-value
<pattern>
set public-variable <name> header <header> position last new-value <pattern> match-value
<pattern> <sequence number>
set public-variable <name> new-value <pattern>
set public-variable <name> new-value <pattern> <sequence number>
set public-variable <name> new-value <pattern> match-value <pattern>
set public-variable <name> new-value <pattern> match-value <pattern> <sequence number>
Syntax Description
<name>
header <header>
position first
position first-match
position last
60000CRG0-35E
Specifies the name of the variable. Variables are referenced in the format
%public.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.
Copyright © 2012 ADTRAN, Inc.
SIP HMR Command Set
957. Use the no form of this
3358

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