Hi German, I'm sure you aren't alone - there are many people who think of this (including me). There are some projects started for opensource billing that supports prepaid You may try to look at Mike Tkachuk's http://sourceforge.net/projects/voipbill/, it's not finished yet though. Through perl scripts you can do what you want easily. There is also an experimental perl module you might wanna look at(see experimental.conf in your raddb). This module is used in production environment by some people and is supposed to be faster than exec-program-wait. In this experimental.conf you will find reference to example.pl script that contains usable comments that should get you started easily. The correct way to set h323-credit-time is $RAD_REPLY{'h323-credit-amount'} = "h323-credit-time=100"; //sets timeout to 100 Called-Station-Id key of %RAD-REQUEST should contain dialed digits. Beware, I'm a newbie in radius and, therefore, I might be wrong(just as anybody else) ;)) Hope this helps.
> Hi everybody, > > I have been working with free radius for a while and I think is one of the most > usefull open source radius servers arround. > Right now I am just logging accounting details for a VoIP platform, also making auth > to users (both with the text detail and users file.) My questing is if does anybothy > of the freeradius communy implemented or is implementing a real-time prepaid service > for users. If don't I would like to know if somebody could give me some tip to code > an application that receive the RADIUS logs of auth in order to response with the > availability of time, depending on the dialed number (I am using cisco AS5300 ..and > I think some VSA have this items) also that updates the time left in the users file . > > Hope somebody could give me a hand on this , > > > Regards, > > German Viera > Montevideo > Uruguay > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html