The following patch add "extra attributes" feature in AUTH_RADIUS and URI_RADIUS modules.
New config parameter "radius_extra" for patched modules added.
Currently we use this feature to add really useful attributes into RADIUS request, for example:
modparam("auth_radius", "radius_extra", "Called-Station-Id=$tu;Calling-Station-Id=$fu")
This code based on "extra accounting" feature from ACC module. Many thanks to Ramona!