diameter-manipulation > diameter-manip-rule

The diameter-manip-rule defines an individual step in creating REGEX type message manipulation object.

Parameters

name
Configured name of this manipulation rule. This is the key field.
  • Default: empty
  • Values: Character string, no special characters with the exception of the underscore characters. Do not start name with numeric character.
avp-code
AVP in the Diameter message to be of manipulated by this rule. This parameter must be configured.
  • Default: 0
  • Values: Valid AVP code
descr-avp-code
Description of AVP code to be manipulated.
  • Default: empty
  • Values: 256 character string
avp-type
The data type of the content of the field the system PD is parsing to perform a manipulation on. This parameter must be configured with an enumerated value. Refer to the Diameter standards document for the encodings of individual AVPs.
  • Default: none
  • Values: none | octet-string | octet-hex | integer32 | unsignedint32 | address | diameteruri | enumerated
action
Type of manipulation action to perform on this AVP.
  • Default: none
  • Values: none | add | delete | store | diameter-manip | group-manip | find-replace-all | replace
comparison-type
Select the comparison type that the match-value uses.
  • Default: case-sensitive
  • Values: case-sensitive | case-insensitive | pattern-rule | boolean
msg-type
The message type to which this Diameter manipulation rule applies.
  • Default: any
  • Values:
    • any—Both Requests and Reply messages
    • request—Request messages only
    • reply— Reply messages only
msg-cmd-code
The Diameter message code that this rule applies to. This parameter must be configured or the manipulation can not be applied to any message.
  • Default: 0
  • Values: Valid Diameter message code
match-value
Enter the exact value to be matched. The action you specify is only performed if the header value matches. The entered value must match the comparison type.
  • Default: empty
new-value
The explicit value for a new element or replacement value for an existing element. You can enter an expression that includes a combination of absolute values, pre-defined parameters, and operators.
  • Default: empty
avp-header-rule
Access the avp-header-rule subelement.

Path

diameter-manip-rule is a subelement under the diameter-manipulation element in the session-router path. The full path from the topmost ACLI prompt is: session-router, and then diameter-manipulation, and then diameter-manip-rule