Sei sulla pagina 1di 6

Mera MVTS Pro Integration Manual

Copyright 2006-2008 JeraSoft Development


http://jerasoft.net/

1. Description
To be able to collect the calls data from Mera MVTS Pro you can go two
ways: collect the data via the CDR-files or via the RADIUS-server. The
differences in these methods are the following:

CDR-files import
Advantages: high reliability and stability, no calls information
may be lost due to server or client side;
Disadvantages: the data is received with delays because files
are copying at the defined periods of time.

RADIUS-server
Advantages: data is received in real-time mode (the call packet
is sent right after the end of the call), call authorization procedure is
possible;

Disadvantages: when network or server hardware is unstable,


the loss of data is possible (although, this data can be restored later
with CDR-files).

Of course, if hardware posseses enough capacity, you can combine both


methods.

2. Integration via CDR-files


2.1. BillBery settings
To allow the billing system collect the data from MVTS Pro via CDR-files,
you need to do the following:
1) Create Mera MVTS Pro gateway within BillBery (go to VoIP
Gateways section of User Manual) and enable Files Collector. In
gateway's parameters you must define:
- IP: MVTS Pro server IP adress;
- Collector Type: CDR/ Mera MVTS Pro (MVTS I format);
- Overwrite TZ: GMT+00:00 (please note that this is crucial setting!);
- After Parse: define the desired method of collected files processing;
2) Enable the files autodownloader under the Files Downloader tab and
specify paths where files should be written to and where they should be
downloaded from:
- From path: /var/cdrs/bill*;
- To path: /var/cdrs/history;
3) Make sure, that Task Scheduler section has Files Collector and Files
Downloader processes enabled.

2.2. MVTS Pro settings


First thing you need to do, is to create SSH-keys on MVTS Pro server with
next set of commands:
cd /usr/local/billbery/bin
su billbery
./ssh_keys.py root@MVTS_Pro_server_IP

Important note: this set of commands needs to be run on BillBery


server.
Perform next set of operations on MVTS Pro server in listed order:
1) Create a var/cdrs directory on MVTS Pro server by running a command:
mkdir /var/cdrs

2) Specify the 02775 acces rights for created directory by running a


command:
chmod 02775 /var/cdrs

3) Go to Control Subsystem/Call Detail Records (CDRs)/Export/Scheduled


Export subsection of MVTS's Pro interface, and set all parameters in
accordance to screenshot below:

Figure 1: CDRs export parameters

Please pay attention to all fields marked with an asterisk especially the
Compression and Export format fields they must be equal to ones provided
on screenshot. It is strictly recommended that Timezone parameter is set to
UTC value. Also, don't forget to select appropriate CDR fields that need to be
exported by using Export fields parameter tool.
Important note: in current example the CDR-files export period is set to
1 hour. You can change this setting by entering a different value in Export for
the period field.

3. Integration via RADIUS


3.1. BillBery settings
To allow the billing system collect the data from MVTS via RADIUSprotocol, you need to do the following:
1) Create Mera MVTS Pro gateway within BillBery (go to VoIP Gateways
section of User Manual) and enable RADIUS Server collector. In
gateway's parameters you must define:
- IP: MVTS Pro server IP adress;
- Radius Server collector type: RADIUS / Mera MVTS I or Pro;
- Secret: random password, that is equal to the password specified in
MVTS Pro RADIUS configuration page (look below for details).
2) Make sure that Task Scheduler section has RADIUS Server process
enabled.
3) Make sure that System Status section has RADIUS Server process
running, and if not start it.

3.2. MVTS Pro settings


Please go to Control subsystem/Configuration/RADIUS servers section of
MVTS's Pro interface and set parameters in accordance to screenshot below:

Figure 2: RADIUS parameters

Please pay attention to the following fields:


RADIUS server name enter your RADIUS server name here and
activare Enable checkbox;

Precedence set this value to 5;

Enable authentication
authentication;

Enable authorization
authorization;

enable
enable

this only
this

only

if

you

need

RADIUS

if

you

need

RADIUS

Enable accounting - enable this only if you need RADIUS accounting;

Enable external routing - enable this only if you need to setup


Dynamical Routing in BillBery;

Secret key specify your RADIUS password here;

Authentication adress specify the IP of BillBery server in this field;

Accounting address - specify the IP of BillBery server in this field;

Send ACCT.START/STOP packets select of both legs value;

External routing address - specify the IP of BillBery server in this field.

Potrebbero piacerti anche