CDR
PIPELINE
Mediation
When person A dails person Bs number, The signal travells from mobile to tower and then
from tower to telephone switch.
Telephone switch locates the person Bs location, It sends the signal to tower where person
B is located
Tower sends the signal to mobile B
After the call is completed the telephone switch records all the information and stores it in
the CDR files.
CDR files are then sent to mediation.
CDR
CDR file
PIPELINE
PIPELINE
1.3.1.2
Data module
PIPELINE
PIPELINE
File
DB
Socket
Input Module converts CDRs to EDRs and places it in the input buffer.
Function Module processes the EDR and stores it in output buffer. It processes rating,
discounting, roaming, etc.
Output module converts internal EDRs to output format and write the data to the output
streams (Rated Event Loader).
Mediation
REL
CDR files are generated by the telephone switch which will be in.or, this has to be converted
to SOL format. This is done by the mediation.
CDR file (In SOL format) is given as an input to the input module of the pipeline.
PIPELINE
Input module reads the contents from input file and converts it into internal EDR format
with the help of Input Description files.
It takes the help of EDR container which contains template and describes how to create a
EDR.
Imagine EDR containers like Java classes and EDRs like java objects.
EDR Container are created by EDR factory (framework component).
These are then stored in Input buffer.
Function module fetches this EDR and processes it (or rates it). Then these EDRs are stored
in output buffer.
Output module fetches these EDRs and converts it into rated events file using output
description files.
Rated events are finally stored in the database by Rated Event Loader (REL).
PIPELINE
CDR
CDR record
(Detail part)
Input module
EDR Conatiner
Header
RECORED_LENGTH
RECORED_TYPE
SENDER
Detail
BASIC_SERVICE
A_NUMBER
B_NUMBER
DURATION
TEL
00491732410
Trailer
RECIPIENT
SEQUENCE_NUMBER
004941067600
300
FIRST_START_TIMESTAMP
PIPELINE
The EDR container description includes the fields in the EDR container, their field
types, and their default values
EDR container file is in the PATH -> /home/pin01/opt/ifw/formatDesc/Portal
A configuration file for pipeline rating or for processing AAA requests by AAA
Gateway Manager that contains the definition of the EDR container.
QUESTIONS
1. WHAT IS A PIPELINE MANAGER?
PIPELINE
Pipeline Manager processes Call Detail Records (CDRs) using series of task specific modules.
2. WHAT IS A PIPELINE?
Input Module converts CDRs to EDRs and places it in the input buffer.
Function Module processes the EDR and stores it in output buffer. It processes rating,
discounting, roaming, etc.
Output module converts internal EDRs to output format and write the data to the output
streams (Rated Event Loader).
10
PIPELINE
BEFORE DEBIT
AFTER DEBIT
1.5.3 CREDIT
11
PIPELINE
Credits can be applied to both currency and non-currency resources, such as US Dollars
and Bulk Hours.
You can set up rates to automatically give credits, for example, 10 free Internet access
hours per month.
BEFORE CREDIT
AFTER CREDIT
Monthly cycle forward arrear only calculates charges at the beginning of the month
but bills the charges only at the end of the month.
12
PIPELINE
A recurring event that is typically used for charging a fee in advance of service.
Monthly cycle forward event bills the customer at the beginning of the month itself.
As you can see in the above pic charges are both accumulated and billed at the
beginning of the month.
The charges are billed only for the monthly cycle forward event.
13
PIPELINE
14