Sip Hmr Command Set - ADTRAN AOS Version R10.1.0 Command Reference Manual

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
SIP HMR C
OMMAND
Session Initiation Protocol (SIP) header manipulation rules (HMR) manipulation is a feature used in AOS
that allows the manipulation of both headers and message bodies in SIP transmissions, based on
configurable rules. These rules can be applied to both outbound and inbound messages, and can be used to
modify existing headers or the body of SIP messages, match, add, or remove SIP headers, and store
variable information. In addition, message manipulation rules can use regular expressions to modify SIP
headers and message bodies. One of the benefits of using SIP header and message manipulation is that the
feature can give you enhanced control over the behavior of SIP traffic on your AOS device, as well as help
solve interoperability issues between the AOS device and other products.
SIP header manipulation is achieved by creating an HMR policy, a set of HMR rules, and applying those
rules to the HMR policy. The policy is then applied to a SIP trunk, to all SIP traffic in the AOS device, to
SIP traffic sent or received by a SIP proxy user, or to SIP traffic sent or received by a SIP proxy server.
The HMR policies can be applied to either inbound or outbound SIP traffic. In addition, HMR variables
can be created, which store text used in header manipulation. These variables can be either public or
private, indicating their scope of access. Public variables are accessible and shared by all HMR policies.
Private variables exist within an instance of a policy.
The following are the basic configuration steps needed to create SIP header manipulation in AOS:
1. Create an HMR rule set (using the Global Configuration mode command
page
956).
2. Create HMR rule(s) for the rule set (using the command
3. Specify each HMR rule's action (add, match, modify, remove using the appropriate commands in this
section).
4. Optionally, configure variables for the HMR rule (using the commands
3355
and
set public-variable on page
5. Create an HMR policy (using the Global Configuration mode command
955).
6. Assign the HMR rule set to the appropriate HMR policy (using the command
7. Apply the HMR policy to the appropriate SIP traffic (using the Global Configuration mode commands
ip sip hmr on page 1124
The commands covered in this section include those executed from the SIP HMR Policy Configuration
mode, the HMR Rule Set Configuration mode, and the HMR Message Rule Configuration mode. For more
information about using SIP HMR, refer to the configuration guide Manipulating SIP Headers and
Messages in AOS, available online at
60000CRG0-35E
S
ET
3358).
and
ip sip proxy hmr on page
http://supportforums.adtran.com
Copyright © 2012 ADTRAN, Inc.

SIP HMR Command Set

hmr rule-set <name> on
rule-set on page
3354).
set private-variable on page
hmr policy <name> on page
rule-set on page
1146).
(article number 3526).
3354).
3338

Hide quick links:

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