Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring Attribute Filter Scripts

 

Use the Web GUI to configure scripts for attribute filters. The attribute filter data are stored in the filter.ini file.

Defining Scripted Filters

Defining Scripted Filters

To define a scripted filter using the Web GUI:

  1. Select RADIUS Configuration > Filters.

    The Filters List page (Figure 282) appears.

    Figure 282: Filters List Page
    Filters List Page
  2. Click Add.

    The Create Filter pane (Figure 283) appears.

    Figure 283: Create Filter Pane
    Create Filter Pane
  3. Enter the name and description of the new filter in the Name and Description fields, respectively. The Description field is optional.

  4. Click Add in the Rules area.

    The Add Rule dialog box (Figure 284) appears.

    Figure 284: Add Rule Dialog
    Add Rule Dialog
  5. Select the Script option button to add a script rule type to the filter. The Script pane (Figure 285) appears.

    Figure 285: Add Rule Dialog—Script
    Add Rule Dialog—Script
  6. Enter the name of the script file for the filter in the Script field. If you add a script rule type to a filter, all other rule types are ignored.

    Note

    Do not enter the .jsi extension for the script name.

  7. Click OK.

    The Rules area in the Create Filter pane (Figure 283) displays the updated lists of selected rules.

  8. Click Save to save the filter configuration.

After you define the attribute filter script, it functions as any other regular attribute filter does. You can define multiple instances of standard and scripted filters. For details about referencing the attribute filter script, see the section on Attribute Processing Files in the SBR Carrier Reference Guide.