Commit Graph

35 Commits

Author SHA1 Message Date
DanB
ff60061a84 Event interface containing AsEvent instead of New, for better readability outside of sessionmanager package, storedCdr supporting event interface for testing purposes, Responder.GetDerivedMaxSessionTime tests 2014-12-22 18:47:12 +01:00
DanB
e4c9cf561a Refactoring CDRE and CDRC configurations and functionality 2014-10-02 19:02:23 +02:00
DanB
134f0ead17 FieldSeparator as string instead of rune inside ExportCdrs API 2014-09-23 12:21:02 +02:00
DanB
a67def57b9 Usage as imported/exported as floated seconds instead of nanoseconds 2014-09-23 11:54:43 +02:00
DanB
ae78f8fba0 Adding FieldAsString method to extract RatedAccount and RatedSubject, tests 2014-07-17 16:15:25 +02:00
DanB
d47e1bf53b DerivedCharging run filters are now chained 2014-07-11 10:28:01 +02:00
DanB
22670e12a8 Logic to handle multiple derived charging run filters inside mediator and session manager 2014-07-09 15:21:42 +02:00
DanB
6d00cce055 Adding ParseRSRFields for list of RSRFields, modifying NewRSRField static format to add suffix / 2014-07-08 18:55:37 +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
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
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
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
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
2a253892c5 Refactoring the code around derived charging to support integration with responder for internal requests, some of the copyright headers updated with new slogan 2014-04-23 20:48:43 +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
ac86c6b60c Fix test of costShiftDigits 2014-04-01 16:13:11 +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
caba3af732 Mediation RPC with rerate abilitites, rename RatedCDR -> StoredCdr, adding storage interface tests 2014-02-03 19:04:42 +01:00