Headers may be configured in compact form and transparently passed using a Transparency Profile. It is advisable to configure both compact and long formats to ensure both types of received headers in the PDU are transparently passed.
For feature details, see Transparency Profile.
The CLI syntax to configure a Transparency Profile is shown below:
% set profiles services transparencyProfile <tpName> sipHeader <name of SIP header, or 'all'> excludedMethods <bye | info | invite | message | notify | options | publish | refer | register | subscribe | update> ignoreTransparency <no | yes> sipMessageBody <content-type, or 'all'> excludedMethods <bye | info | invite | message | notify | options | publish | refer | register | subscribe | update> ignoreTransparency <no | yes> state <disabled | enabled>
The CLI syntax to assign the Transparency Profile to an egress Trunk Group is shown below:
% set addressContext <addressContextName> zone <zoneName> sipTrunkGroup <trunkGroupsName> services transparencyProfile <tpName>
Parameter | Length/Range | Description |
---|---|---|
transparencyProfile | 1-23 characters |
|
sipHeader | 1-31 characters |
If a specific header is configured, The
|
sipMessageBody | 1-127 characters |
The
|
state | N/A | Enable this flag to use this Transparency Profile.
|
To see a step-by-step configuration example, see Configuring a Transparency Profile.
To configure transparency of all headers for a Transparency Profile and view the results:
% set profiles services transparencyProfile TP_E sipHeader all % commit % show profiles services transparencyProfile TP_E state enabled; sipHeader all;
To exclude select methods from a SIP header:
% set profiles services transparencyProfile TP_F sipHeader SH1 excludedMethods invite,info,register
To exclude transparency for a specific SIP header:
% set profiles services transparencyProfile TP_G sipHeader SH1 ignoreTransparency yes
To assign transparency profile to a trunk group:
% set addressContext ADDR_CONTEXT_1 zone ZONE_AS sipTrunkGroup TG_ASX_MERCURY services transparencyProfile TP_E
To allow a specific type of content through:
% set profiles services transparencyProfile testProfile sipMessageBody application/foo
To allow all types of content through in all SIP messages except certain select SIP methods:
% set profiles services transparencyProfile testProfile sipMessageBody all excludedMethods info,invite