Manipulation Rule

  1. Type diameter-manip-rules to continue and enter individual policy attributes. The system prompt changes to let you know that you can begin configuring individual parameters.
  2. name—Enter the name of this manipulation rule. This value will be referenced in when creating a chain of rules.
  3. descr-avp-code—Enter a description of the AVP code to manipulate.
  4. msg-cmd-code—Enter the command code number of the message to manipulate.
  5. msg-type—Enter the type of message this manipulation applies. Valid values are:
    request | response | any
  6. avp-code—Enter the AVP by code number where this manipulation applies. You can add a multi-instance identifier to the end of the AVP code value, enclosed in brackets.
  7. avp-type—Set this to the data type of the content of the match field. Refer to the Diameter standards document for the encodings of individual AVPs. Valid values are:

    none | octet-string | octet-hex | integer32 | unsignedint32 | address | utfstring | diameteruri | enumerated | grouped

  8. match-value—Enter the value to match against. You can leave this blank to apply the action without looking for a match.
  9. action—Enter the action to take. Valid values are:
    none | add | delete | store | diameter-manip | group-manip | find-replace-all | replace
  10. new-value—Enter one of the following:
    • If action is add, replace, or find-replace-all, enter the value to add or replace the old value with.
    • If action is diameter-manip or group-manip, enter the exact case-sensitive name of the subsequent diameter-manipulation element to run.
    • If action is delete or store, leave this blank.
  11. avp-path—Enter the path to the grouped AVP to perform a store or add action on. Do not use this with any other action type, or for non-grouped AVPs at the same level (two AVPs at root level, or two AVPs at the same level within a grouped AVP). The path must already exist in the AVP hierarchy.
    The path consists of one or more comma-separated grouped AVP codes, with optional 0-based index numbers in square brackets. For example, 873,876[1] indicates the second instance of AVP 876 within grouped AVP 873.
  12. Type done and continue.