Nextelco:Billing

From its-wiki.no
Jump to: navigation, search

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:

# cd /var/www/
# wget http://sourceforge.net/projects/daloradius/files/daloradius/daloradius0.9-9/daloradius-0.9-9.tar.gz/download
# tar -xvf daloradius-0.9-9.tar.gz
# 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.

# chown www-data:www-data /var/www/daloradius -R
# 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.

# mysqladmin -p create radius
# Enter password:

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.

# mysql -u root -p radius < /var/www/daloradius/contrib/db/fr2-mysql-daloradius-and-freeradius.sql
# Enter password:

In order to let daloRADIUS to connect the MySQL database, we need to edit daloradius.conf.php file and add the necessary information.

# 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


Return to Application Server page.

Return to Technology page.