Table of Contents
- Title and Copyright Information
- About This Guide
- Revision History
-
1
Header Manipulation Rules
- HMR Fundamentals
-
HMR Components
- Relationship Between Rulesets and Its Rules
- Ruleset Guidelines
- Ruleset Components
- Guidelines for Header and Element Rules
- Guidelines for Header Rules
- Guidelines for Element Rules
- Duplicate Header Names
- SIP Header Pre-Processing HMR
- Back Reference Syntax
- Dialog Matching
- Built-In HMRs
- Unique Regex Patterns Per Peer and Trunk
- Rejecting SIP Requests
- HMR Information in Logs
- Using Regular Expressions
-
HMR Configuration
- Testing Pattern Rules
- Creating Header Manipulation Rulesets
- Configuring SIP Header Manipulation Rules
- Configuring SIP Header Manipulation Element Rules
- Status-Line Manipulation and Value Matching
- Configuring SIP HMR Sets
- Configuring a Session Agent
- Configuring a SIP Interface
- Example 1 Stripping All Route Headers
- Example 2 Stripping an Existing Parameter and Adding a New One
- Unique HMR Regex Patterns and Other Changes
- MIME Support
- HMR Import-Export
- HMR Development
-
Configuration Examples
- Example 1 Removing Headers
- Example 2 Manipulating the Request URI
- Example 3 Manipulating a Header
- Example 4 Storing and Using URI Parameters
- Example 5 Manipulating Display Names
- Example 6 Manipulating Element Parameters
- Example 7 Accessing Data from Multiple Headers of the Same Type
- Example 8 Using Header Rule Special Characters
- Example 9 Status-Line Manipulation
- Example 10 Use of SIP HMR Sets
- Example 11 Use of Remote and Local Port Information
- Example 12 Response Status Processing
- Example 13 Remove a Line from SDP
- Example 14 Back Reference Syntax
- Example 15 Change and Remove Lines from SDP
- Example 16 Change and Add New Lines to the SDP