Add_workflow_for_techpubs | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Noprint | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
The
Spacevars | ||
---|---|---|
|
This example configuration describes how to create and configure a transparency profile to transparently pass headers and message bodies using the following basic steps:
Table of Contents | ||
---|---|---|
|
Though these steps can be performed from either the EMA or from the CLI, the description below is limited to CLI.
Info | ||
---|---|---|
| ||
For feature details, see Transparency Profile. For configuration details, see Service Profiles - Transparency Profile (EMA) or Transparency Profile - CLI. |
Include Page | ||||
---|---|---|---|---|
|
Enter the following commands to create a transparency profile.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile % commit |
Perform the following steps to configure headers and/or message bodies in your transparency profile.
Configure Transparency of "all" Headers.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipHeader all % commit |
Configure Transparency of a specific Header with Per-Method Exclusion.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipHeader contact excludedMethods info, notify % commit |
Configure Selective Exclusion of Transparency of Headers.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipHeader contact ignoreTransparency yes % commit |
Note | ||||
---|---|---|---|---|
| ||||
If a specific header is being configured, The
|
Info | ||
---|---|---|
| ||
Rules must be configured in the Transparency Profile for the types of content that must be transparently passed through. These rules can be categorized as follows based on the SBC action to take:
|
Allow a specific type of content through.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipMessageBody application/foo % commit |
Note | ||||
---|---|---|---|---|
| ||||
This rule does not apply when combined with a rule to allow all types of content. To start out allowing all types of content through, and then excluding specific content, skip to step 2. |
Allow all types of content through.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipMessageBody all % commit |
Allow all types of content through in all SIP messages except select SIP methods.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipMessageBody all excludedMethods info,invite % commit |
Allow a specific message body through in all SIP messages except certain select methods.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipMessageBody application/foo excludedMethods info,invite % commit |
Disallow a message body from being transparently passed through.
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile sipMessageBody application/foo ignoreTransparency yes % commit |
Note | ||||
---|---|---|---|---|
| ||||
This rule only applies in the following cases:
|
Enter the following commands to attach a transparency profile to a trunk group:
Code Block | ||
---|---|---|
| ||
% set addressContext testAC zone testZone sipTrunkGroup testTG services transparencyProfile testProfile % commit |
To enable a Transparency Profile, enter the following commands:
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile state enabled % commit |
To view the currently configured transparency profiles, enter the following 'show' command:
Code Block | ||
---|---|---|
| ||
% show profiles services transparencyProfile |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
% show profiles services transparencyProfile transparencyProfile test { sipHeader all; sipMessageBody all; sipMessageBody application/foo { ignoreTransparency yes; } sipMessageBody application/new { excludedMethods invite,info; } } |
Enter the following commands to detach a transparency profile from a trunk group:
Code Block | ||
---|---|---|
| ||
% delete addressContext testAC zone testZone sipTrunkGroup testTG services transparencyProfile % commit |
The state of the transparency profile must be disabled before any modification or deletion of the transparency profile can be made. See example below:
Code Block | ||
---|---|---|
| ||
% set profiles services transparencyProfile testProfile state disabled % commit % delete profiles services transparencyProfile testProfile % commit |
Pagebreak |
---|