HP-UX AAA Server A.08.00.01 Administrator's Guide

DNIS Routing
In a typical DNIS routing scheme, requests are handled according to the Calling
Station-Id and Called-Station-Id attributes. The POLICY action matches the
Calling-Station-Id and Called-Station-Id attribute values in the
Access-Request to the conditions defined in the DNIS decision file, and returns the
matching policy group reply items and the FSM events Forward and Abandon. The
required events and states are defined in the DNIS.fsm file delivered with the server.
To implement the sample policy for DNIS Routing, complete the following steps:
Step 1 – Modifying the Default FSM for DNIS Routing.”
“Step 2 – Defining the DNIS Routing Policies” (page 435)
Step 1 Modifying the Default FSM for DNIS Routing
To modify radius.fsm to support DNIS routing, complete the following steps:
1. Replace the radius.fsm file in the server's configuration directory with /opt/
aaa/examples/config/DNIS.fsm. For example, if the server's configuration
directory is /etc/opt/aaa/radius.fsm, then enter the following command:
# cp /opt/aaa/examples/config/DNIS.fsm /etc/opt/aaa/radius.fsm
NOTE: Take a backup of /etc/opt/aaa/radius.fsm before replacing it.
2. Modify the Start4 state, as shown below, so that the Xstring parameter points
to the fully qualified domain name or IP address of the server to which you are
forwarding requests. The server must be listed in the HP-UX AAA servers
clients file. The clients file entry is needed to obtain the shared secret. For
more information, see Chapter 7 (page 96) and Chapter 9 (page 113). For more
information on the clients file, see “The clients File” (page 517)
Start4: *.*.Forward RAD2RAD Start4a Xstring=192.168.0.0
3. Save and close the radius.fsm file.
4. Copy the sample decision file /opt/aaa/examples/config/DNIS.grp to the
HP-UX AAA server's configuration directory using the following command:
# cp /opt/aaa/examples/config/DNIS.grp /etc/opt/aaa/
Step 2 Defining the DNIS Routing Policies
You must edit the DNIS.grp file to define DNIS routing policies. To edit the DNIS.grp
file, complete the following steps:
Sample Policy Implementations 435