The gsm operator we are working with has their ggsn updated. Now they are requesting charging data postpaid in accept reply which is same for all. I know we can set sn_rulebase=postpaid in users file but firewall is also using it and it is risky to do it. Is there another way to do it? They do not know for sure but told me about centralbase. Regards "May the Force be with you." Han Solo (Star Wars) Aug 28, 2012 tarihinde 11:39 saatinde, "Fajar A. Nugraha" <list@fajar.net> şunları yazdı:
On Tue, Aug 28, 2012 at 1:20 PM, Murat K <srvrmurat@gmail.com> wrote:
I have all my users postpaid. How can I configure freeradius that all of them are postpaid?
Nothing
I heard there is a centralbase parameter that should be postpaid
Ask whomever you heard it from, because it's not true.
The simplest test example, adding a user and cleartext-password entry to the top of /etc/raddb/users (or wherever your user file is), would allow a user to authenticate to the NAS (i.e. login) with that password. And if that NAS sends accounting packets, FR will record it, and you can then use the accounting information to charge the user later (i.e. postpaid).
To create a prepaid user, you need to return some limit attribute that your NAS understands (i.e. Session-Timeout, ChilliSpot-Max-Total-Octets, whatever) to limit how long that user can be online. Usually that's done by using and configuring rlm_counter or rlm_sqlcounter (see the docs and wiki for details).
-- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html