Commit Graph

32 Commits

Author SHA1 Message Date
DanB
ae78f8fba0 Adding FieldAsString method to extract RatedAccount and RatedSubject, tests 2014-07-17 16:15:25 +02:00
DanB
5430490ec5 Adding RatedAccount and RatedSubject inside StoredCdr 2014-07-17 14:27:06 +02:00
DanB
7bdd49b649 StoredCdr.PassesFieldFilter with grouping in regexp rules, fsevent with PassesFieldFilter method for derived charging 2014-07-08 14:32:20 +02:00
DanB
03fa289a8d Removing debug log 2014-07-07 19:26:59 +02:00
DanB
f77e6f03f3 Allow derived charging regexp filters with empty templates 2014-07-07 19:22:43 +02:00
DanB
e96251aba3 RegexpSearchReplace rule has now Matched field to confirm matching, DerivedChargers has now Regexp support in filters 2014-07-07 17:48:59 +02:00
DanB
31b421c755 Loader for derived charging filters, using derived chargers filters within mediator and session manager, filter implementation inside StoredCdr 2014-07-07 11:34:23 +02:00
DanB
a014ef8401 Cdrc to accept static fields in case of .csv files 2014-07-03 19:50:14 +02:00
DanB
a4b3d94431 Derived charging - fix nil pointer dereference in case of empty fields on fork cdr, cdrexporter correctly returning now empty file path in case of no cdrs to be exported 2014-07-02 19:39:19 +02:00
DanB
f436346873 Refactored CDRExporter to merge common exports into one mechanism, added CdreConfig type to collect configuration for CDRE from more sources 2014-06-03 19:05:36 +02:00
DanB
18629002a6 StoredCdr.AsCgrCdrOut() with tests 2014-05-28 12:54:03 +02:00
DanB
4f95f56284 Usage stored as decimal in MySQL, more tests and sample tariff plan data 2014-05-28 09:36:16 +02:00
DanB
42e9719fed DurationMangle is now bidirectional, cdr exporter properly formating duration 2014-05-26 14:16:35 +02:00
DanB
31881ea41c StoredCdr.FormatUsage now considers Data, StoredCdr.MangleDataUsage to properly export CDR objects 2014-05-26 12:58:00 +02:00
DanB
d5f6df9473 Destination optional when forking Data Cdrs, adding mediation local tests for rated data charging 2014-05-19 10:46:12 +02:00
DanB
e8690fc23e StoredCdr.Duration -> StoredCdr.Usage 2014-05-19 09:24:46 +02:00
DanB
d0d49481a2 ApierV1.GetCdrs method, CDR fields now exported from rated_cdrs table to reflect derived charging, duration layout, added upgrade script for mysql schema 2014-05-15 12:13:03 +02:00
DanB
6ffdb1633f TOR in exported CDRs 2014-05-11 13:46:19 +02:00
DanB
370fc31db8 Adding TOR support inside CDRs 2014-05-09 19:24:38 +02:00
DanB
f7abbacfe5 Refactoring CDRs to support RSRFields 2014-05-05 20:14:40 +02:00
Radu Ioan Fericean
fcdc0c03c7 Merge branch 'data'
Conflicts:
	engine/calldesc.go
	mediator/mediator.go
	sessionmanager/fssessionmanager.go
	utils/storedcdr.go
2014-04-29 14:13:48 +03:00
DanB
e01ad95465 cdr AsStoredCdr() -> ForkCdr(), fixup ForkCdr in StoredCdr type 2014-04-27 14:17:36 +02:00
DanB
f0095dbcb3 RawCDR interface now properly returns duration 2014-04-27 09:19:30 +02:00
Radu Ioan Fericean
48de7f3c30 Merge branch 'master' into refactor
Conflicts:
	sessionmanager/fssessionmanager.go
	sessionmanager/session.go
2014-04-25 21:42:48 +03:00
Radu Ioan Fericean
25cb5be8c0 refactor CallDuration in DurationIndex and TOR in Category 2014-04-25 21:16:21 +03:00
DanB
ddcd54db4b Integration of DerivedCharging within mediation 2014-04-24 18:33:18 +02:00
DanB
a3fff42338 FsCgrId -> Sha1, making the CgrId even more uniquely by hashing it with setup time 2014-04-08 17:51:18 +02:00
DanB
9dcd7c0ef4 Adding OrderId to storedCdrs and using it in sql/GetStoredCdrs and exporters 2014-04-08 10:39:09 +02:00
DanB
cd29a3360b Adding costDigitsShift formatting 2014-04-01 16:08:34 +02:00
DanB
f6d16cecc5 Adding full CDR template in exported CDRs, using RSRFields 2014-03-16 13:11:08 +01:00
DanB
5ae7a18283 Adding setupTime to CDRs for later stats calculation 2014-03-06 15:47:39 +01:00
DanB
caba3af732 Mediation RPC with rerate abilitites, rename RatedCDR -> StoredCdr, adding storage interface tests 2014-02-03 19:04:42 +01:00