ADTRAN AOS Version R10.1.0 Command Reference Manual page 3340

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
add header position
Use the add header position command from the Message Rule Set Configuration mode to add headers to
Session Initiation Protocol (SIP) messages using SIP header manipulation. Use the no form of this
command to remove the header addition rule from the rule set. Variations of this command include:
add header <header> position first new-value <value string>
add header <header> position first new-value <value string> <sequence number>
add header <header> position if-not-present new-value <value string>
add header <header> position if-not-present new-value <value string> <sequence number>
add header <header> position last new-value <value string>
add header <header> position last new-value <value string> <sequence number>
Syntax Description
<header>
first
if-not-present
last
new-value <value string>
<sequence number>
Default Values
By default, no SIP headers are configured for addition to SIP messages. When configured, if no sequence
number is given, the rules are sequenced in increments of 10, and all rules are processed in sequence.
Command History
Release R10.1.0
Functional Notes
Multiple headers of the same type can occur in SIP messages, and therefore, the specified position of the
header can determine whether a match occurs. For more information, refer to Appendix B: Matching
Regular Expressions in SIP Messages with Multiples of the Same Header in the configuration guide
Manipulating SIP Headers and Messages in AOS, available online at
(article number 3526).
60000CRG0-35E
Specifies the SIP header type that you want to add to the SIP message.
Header types are outlined in the Functional Notes below.
Specifies that the new header is added as the first header of the specified
header type within the SIP message.
Specifies that the new header is added only if the specified header type is
not already present within the SIP message.
Specifies that the new header is added as the last of the specified header
type within the SIP message.
Specifies the value to assign to the new header and is expressed as a text
string. Text strings must be enclosed in quotation marks.
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.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
SIP HMR Command Set
http://supportforums.adtran.com
3340

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