the perl statement
do $pl_file;
requires different handling in rate-o-mat launchers
in order to propagate the orignating error properly.
Change-Id: Ie1496236be62c4f6fc5767492ece8607dc179aa0
charge the "extra rate" at "extra second" of call time.
while it is included in the value of
"(source|destination)_(carrier|reselller|customer)_cost", it also
has to be recorded explicitly, using
(source|destination)_(carrier|reseller|customer)_extra_rate
dcr_tag.
Change-Id: I016977a7ed54f45a67513595980a14f9847c3a4b
For the testsuite we are setting no daemonization, which was previously
disabling pidfile creation, which hardcodes a pathname that requires
root privileges.
Make it possible to specify the pidfile name via a new environment
variable, and to disable it by passing an empty string.
Change-Id: Idcfa7196059c5223452c5ca655ff3fb9c5c9ef88
Fixes: commit e742185f64
+added contract_balance_id's
+fix: get_call_costs calculates total call costs
for cash_balance_interval only if no balance
is available. which is not mandatory for
post-paid *still under discussion*
REMOVED FOR THIS CHANGE
+option to shuffle cdr batch to reduce lock waits
when running multiple rateomats against same cdr
table
+fix: free cash carry over calculation was
wrong (typos only)
+fix: provider profile selection
is now caller-IP based, so roaming should be
properly supported here now as well
+reworked and cleanup provider "info" retrieval
(billing profile and package, balance records)
+balance underrun checks that are performed after
call costs were calculated will skip applying
subscriber lock and adding underrun profile mappings,
if preapid && out direction && a call cost record
from swrate exists. this should avoid polluting
the billing mappings table in the first.
+.t now use run_rateomat_threaded to work with
perl's "prove"
+update/create statements are modified to be make
it safe if multiple rateomat's are processing
the same accounting.cdr table at the same time:
UPDATE CDR .. WHERE id = ?
AND rating_status = 'unrated'"
+rateomat termination behaviour: do not exit
upon the first but a given number of failed cdrs
+reworked prepaid cost table preloading
+option to disable prepaid preference flag update
+prepared to take prepaid flag values from cdr,
not profile
+prepaid costs processing testcase
+onnet full-scale testcase
+offnet full-scale testcase
+test case order and comments
+rateomat parallel execution testcase
+fix missing source/destination_lnp_prefix columns
for duplication stmt
+writing profile package id, contract balance id, cash
balance before/after, free time balance before/after
fields to EAV tables
+extended onnet testcase to verify written EAV values
+extended offnet testcase to verify written EAV values
+freetime testcase
Change-Id: I3b08b2bb04adf2272d9400048ce45e3b709e7971
btw. it was difficult to find a setup to really
make it split the cdrs, and not getting the
"inconsistent rating profile fragements" error.
so using RATEOMAT_SPLIT_PEAK_PARTS=1 has to be
used with care definitely.
Change-Id: If3e3376fd9cab7de31a3ace3e9e6fa1e1a0f9b12