ADTRAN AOS Version R10.1.0 Command Reference Manual page 3349

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
modify header position
Use the modify header position command from the Session Initiation Protocol (SIP) header manipulation
rule (HMR) Message Rule Set Configuration mode to specify a SIP header to modify. Use the no form of
this command to remove the header modification rule from the rule set. Variations of this command
include:
modify header <header> position all new-value <pattern>
modify header <header> position all new-value <pattern> <sequence number>
modify header <header> position all match-value <pattern> new-value <pattern>
modify header <header> position all match-value <pattern> new-value <pattern> <sequence number>
modify header <header> position first new-value <pattern>
modify header <header> position first new-value <pattern> <sequence number>
modify header <header> position first match-value <pattern> new-value <pattern>
modify header <header> position first match-value <pattern> new-value <pattern>
<sequence number>
modify header <header> position first-match new-value <pattern>
modify header <header> position first-match new-value <pattern> <sequence number>
modify header <header> position first-match match-value <pattern> new-value <pattern>
modify header <header> position first-match match-value <pattern> new-value <pattern>
<sequence number>
modify header <header> position last new-value <pattern>
modify header <header> position last new-value <pattern> <sequence number>
modify header <header> position last match-value <pattern> new-value <pattern>
modify header <header> position last match-value <pattern> new-value <pattern>
<sequence number>
Syntax Description
<header>
all
first
first-match
last
match-value <pattern>
new-value <pattern>
<sequence number>
60000CRG0-35E
Specifies the SIP header type in the SIP message that you want to modify.
Header types are outlined in the Functional Notes below.
Specifies that all matching headers of the specified type are modified.
Specifies that the first header of the specified type is modified.
Specifies that the first matching header of the specified header type,
regardless of its position within the message, is modified.
Specifies the last header of the specified type is modified.
Optional. Specifies the pattern to be used for header matching. This can be
a regular expression or a text string, and can reference variable names.
Specifies the value to be assigned to the header. This can be a regular
expression or a text string.
Optional. Specifies the sequence number given to the message rule, which
determines the order in which the rules are processed. Valid sequence
number range is 1 to 99999. By default, sequence numbering occurs in
increments of 10, and all rules are processed in sequence.
Copyright © 2012 ADTRAN, Inc.
SIP HMR Command Set
3349

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