Configure perl module to use your script (raddb/modules/perl). Script should use sub acconting. List perl in accounting.
Ivan Kalik Kalik Informatika ISP Dana 19/1/2009, "ramesh p" <rock786...@gmail.com> piše: >One more question how to include the perl script for parsing. I haven't done >this before. Please kindly give suggestions. > >Thanks in advance! >Ramesh. > >2009/1/19 <t...@kalik.net> > >> Yes. That's the general idea - create custom attributes; fill them with >> vaues from avpairs; alter radacct and queries to store new attributes. >> >> Ivan Kalik >> Kalik Informatika ISP >> >> >> Dana 19/1/2009, "ramesh p" <rock786...@gmail.com> piše: >> >> >Thanks. Is this digest helps for making changes? >> >http://osdir.com/ml/gnu.radius.general/2003-04/msg00086.html >> >Regards, >> >Ramesh. >> >On Mon, Jan 19, 2009 at 6:15 PM, <t...@kalik.net> wrote: >> > >> >> >I need to have both Disc-Cause-Ext, PPP-Disconnect-Cause as columns in >> >> >radacct table. For that do i need to do parsing? How to proceed. >> >> >> >> For parsing best use perl. You might want to add some attributes to >> >> raddb/dictionary and store parsed values there. And you will need to >> >> alter radacct table schema and accounting queries in dialup.conf. >> >> >> >> Ivan Kalik >> >> Kalik Informatika ISP >> >> >> >> - >> >> List info/subscribe/unsubscribe? See >> >> http://www.freeradius.org/list/users.html >> >> >> > >> > >> >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html