you can execute a programm for every reply item. Attribute-Name = `{%exec:/path/to/program args}`
in the program itself you can use the environment variables for reading the nasipaddress or something else, all request items are placed into the enviroment of the forked programm. the output of the programm will be placed in the value of the attribute. all this can you find in radiusd.conf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html