2.2.3 Adding a Rule Template

Meta-Administrator and Rule Set Administrator use this procedure to define a new Rule Template.

There are three sections of the Diameter, and then Mediation, and then Rule Templates [Insert] page: Settings, Conditions, and Actions. For a detailed description of each section, see Rule Templates. For a list of Rule Template elements and their definitions, see Rule Template elements.

  1. If Mediation - Triggered Message Copy is used (the Message Copy Action is selected in one or more Rule Templates), then the following Diameter, and then Configuration is required before configuring the actions:
    • Configure one or more Route Groups that used for one or more Route Lists for the Message Copy DAS.
    • Configure one or more Route Lists for the DAS.
    • Configure one or more Configuration Sets, and then Message Copy that can be assigned to one or more Message Copy Actions.
  2. Verify the required Enumeration types, Internal Variables, Measurements, AVP Dictionary entries, and Vendors have been defined in the system.
    Use the following GUI pages to view the entries, and to access the GUI pages to enter, change, or delete entries as needed:
  3. Click Diameter, and then Mediation, and then Rule Templates.
  4. Click Insert.
    If the maximum number of Rule Templates (100) already exists in the system, the Rule Templates [Insert] page does not open, and an error message displays.
  5. Enter the Rule Template Name in the Settings section. Settings values for the Rule Template. For a description of the setting elements, see Table 2-6.
    The Message type support depends on the selected conditions and actions.
  6. Enter the Conditions values.
    You can define up to five Conditions in the Rule Template. The grouped AVPs can be up to 8 levels deep. The rule template with no conditions is unconditionally matched for all processed messages.

    Note:

    Enable the fast search option for as many conditions as possible as described in Fast Search. For information on how fast search impacts the performance of DSR, see Performance.

    The order the conditions are in alphabetical order. To change the order use up and down arrows.

    A check mark in Optional indicates a matching expression is optional. This means you can leave this condition's Value field blank on the Diameter, and then Mediation, and then Rule Sets page, and the condition is not used during message processing. For a description of the conditions elements, see Table 2-7.

  7. Select the Condition Set options as defined in Table 2-8.

    Note:

    The maximum number of provisioned rules per template/rule set depends on the template type. For slow-search templates, which have at least one slow-search condition, the maximum number of provisioned rules is 250. For fast-search templates, the maximum number of provisioned rules is 2000. To determine if the template is a fast-search reference Fast Search versus slow search.
  8. Select the Actions value as defined in Table 2-9.
    When any defined Conditions are met, the Actions specified in this section of the page are taken. At least one Action must be specified for a Rule Template.
  9. When the Rule Template definition is complete, click:
    • OK and change the state of the rule template in Diameter, and then Mediation, and then State & Properties
    • Apply
    • Cancel
  10. If you want to add online help to describe this Rule Template in its generated Rule Set, perform the Adding online help to a Rule Template procedure.
  11. If one or more Rule Template Actions for Message Copy have been configured, then go to the Diameter, and then Configuration, and then System Options page, select the Message Copy Options tab, and select the Enabled option for the Message Copy Feature element.