Nextelco:Billing

= Billing System =

The Billing System gives the end-users the possibility to choose a pre-paid service which will provide them a full Internet navigation. Besides text and images, pre-paid users will be able to access streaming video and audio content. Additionally the Basic Internet navigation will be much faster due to an increased QoS.

Besides all the possible solutions, we select daloRADIUS. This solution is an advanced RADIUS web platform aimed at managing Hotspots and general-purpose ISP deployments. It features rich user management, graphical reporting, accounting, and integrates with GoogleMaps for geo-locating (GIS). daloRADIUS is written in PHP and JavaScript and utilizes a database abstraction layer which means that it supports many database systems, among them the popular MySQL, PostgreSQL, Sqlite, MsSQL, and many others.

Installation
The installation of daloRADIUS requires to download it and copy and paste in a specific location. These are the commands used for its installation:
 * 1) cd /var/www/
 * 2) wget http://sourceforge.net/projects/daloradius/files/daloradius/daloradius0.9-9/daloradius-0.9-9.tar.gz/download
 * 3) tar -xvf daloradius-0.9-9.tar.gz
 * 4) mv daloradius-0.9-9 daloradius

After the installation is completed, the next step is to configure it in order to be able to login and setup FreeRADIUS.

Configuration
The first step is to set up the permissions.
 * 1) chown www-data:www-data /var/www/daloradius -R
 * 2) chmod 644 /var/www/daloradius/library/daloradius.conf.php

After all the permissions are set the next step is to create a database in mysql called radius. The created database has to be filled with data. daloRADIUS comes with a sql script that automatically creates all the necessary tables all fills them with data. In order to let daloRADIUS to connect the MySQL database, we need to edit daloradius.conf.php file and add the necessary information.
 * 1) mysqladmin -p create radius
 * 2) Enter password:
 * 1) mysql -u root -p radius < /var/www/daloradius/contrib/db/fr2-mysql-daloradius-and-freeradius.sql
 * 2) Enter password:
 * 1) vi /var/www/daloradius/library/daloradius.conf.php

After that we will be able to test if daloRADIUS has been set correctly.

Test
In order to see if daloRADIUS has been correctly installed and configured just go to http://yourip/daloradius username: administrator password: radius

In order to change the default password just go to Configuration -> Operators page

It is important to remember to also REMOVE completely or rename to some random undetected name the update.php script!

INPORTANT
FreeRADIUS comes with many dictionaries, however, I didn't find anything explicit for Runcom. Searching on Internet I found the following dictionary created by alandekok from Runcom. dictionary

Voucher System
All vouchers have the following characteristics:
 * Valid for a period of time (after first use):
 * Unlimited
 * Year(s)
 * Month(s)
 * Day(s)
 * Hour(s)
 * Attached to a QoS (fix during voucher valid period or variable):
 * Best effort / unlimited (based on provider subscription).
 * X MB/s
 * A code which distinguish the voucher unequivocally.
 * Expire time. Valid to activate before a specific date.
 * Price
 * Free
 * Fee
 * Fee

Return to Application Server page.

Return to Technology page.