Freeradius and asterisk

recently i was able to implement a prepaid card billing scenario through asterisk dialplan.

though, i am still trying to use freeradius for accounting, i am trying to connect my asterisk to it.
and then use it for accounting.

but still did not figure out how this shall be done.

any help would be appreciated.