Commit Graph

234 Commits

Author SHA1 Message Date
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
c063bc2a21 Adding utils.HttpJsonPost client 2014-05-28 19:33:47 +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
e6aaf24a14 Small rule fixup regexp + prefixing E164 numbers 2014-05-25 19:35:41 +02:00
DanB
00248b16dc General tests and configs for multiple cdrc imports 2014-05-25 16:23:05 +02:00
DanB
9bf5f7611b xmlcdrc with setDefaults(), modifying default order of imported and exported cdrs 2014-05-23 21:44:33 +02:00
DanB
5fe65f203c Adding compressed date string parsing, sample multiple cdrc with fw exporter as .xml 2014-05-21 20:10:40 +02:00
DanB
cb33f01695 Adding xml configuration for cdrc 2014-05-20 13:41:02 +02:00
DanB
1ad4068d73 Fixup CdrServer receiving nanoseconds as usage, more tests 2014-05-19 17:50:31 +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
66d9377c53 DerivedChargers DurationField -> UsageField 2014-05-19 10:21:20 +02:00
DanB
e8690fc23e StoredCdr.Duration -> StoredCdr.Usage 2014-05-19 09:24:46 +02:00
DanB
aaeac3329a CgrCdr duration->usage to comply with data CDRs 2014-05-18 22:04:16 +02:00
DanB
9bea2fa7d7 Adding datacost console command, test getDataCost 2014-05-18 18:13:59 +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
ec5b8711ad Fixup Tor->Category within ExportCdrsToFile API 2014-05-13 20:22:33 +02:00
DanB
4f4f3b1108 ApierV1.GetScheduledActions with filters 2014-05-13 19:21:03 +02:00
DanB
da6f9cad6a ApierV1 methods for add, get, remove aliases, local tests attached 2014-05-12 19:03:07 +02:00
DanB
79d654c2a0 Aliases now with multi-tenant support, ApierV1.GetRatingSubjectAliases, ApierV1.GetAccountAliases RPC commands implementation 2014-05-11 21:48:51 +02:00
DanB
6ffdb1633f TOR in exported CDRs 2014-05-11 13:46:19 +02:00
DanB
7bc0003fcf GetStoredCdrs taking TORs as filter 2014-05-11 13:09:53 +02:00
DanB
370fc31db8 Adding TOR support inside CDRs 2014-05-09 19:24:38 +02:00
Radu Ioan Fericean
dc7330b3c9 moved rounding params from rates to destination rates 2014-05-07 15:00:02 +03:00
DanB
f466fcbb6a Proper ratingprofile order 2014-05-06 20:26:33 +02:00
DanB
f7abbacfe5 Refactoring CDRs to support RSRFields 2014-05-05 20:14:40 +02:00
Radu Ioan Fericean
ede467c899 Merge branch 'lcr'
Conflicts:
	engine/calldesc.go
	engine/handler_derivedcharging.go
	mediator/mediator.go
	utils/apitpdata.go
2014-04-29 14:20:15 +03: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
5aebe92788 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-04-28 12:06:47 +02:00
DanB
e39187eab9 TOR -> Category in relation with DerivedCharging 2014-04-28 12:06:42 +02:00
Radu Ioan Fericean
21176f7c88 cache fixes 2014-04-28 12:26:27 +03:00
DanB
6497a09ae5 RSRules chain implementation 2014-04-27 21:39:52 +02:00
DanB
e01ad95465 cdr AsStoredCdr() -> ForkCdr(), fixup ForkCdr in StoredCdr type 2014-04-27 14:17:36 +02:00
DanB
35cb7483de CgrCdr.AsStoredCdr supporting now *default as field names 2014-04-27 09:59:08 +02:00
DanB
f0095dbcb3 RawCDR interface now properly returns duration 2014-04-27 09:19:30 +02:00
Radu Ioan Fericean
255fb4ea0e cd Tor to TOR 2014-04-26 01:50:08 +03:00
Radu Ioan Fericean
9d0f252aad lcr load and torfield to categoryfield 2014-04-26 01:45:51 +03:00
Radu Ioan Fericean
f1731cccb7 lcr loading 2014-04-26 01:33:48 +03:00
Radu Ioan Fericean
1d7d0b8078 Merge branch 'data' into lcr
Conflicts:
	apier/apier.go
	cmd/cgr-loader/cgr-loader.go
	engine/calldesc.go
	engine/loader_csv.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	general_tests/ddazmbl1_test.go
	utils/apitpdata.go
2014-04-25 22:10:55 +03: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
Radu Ioan Fericean
4934daa6b9 modified loader for recurrent flag 2014-04-25 20:26:41 +03:00
Radu Ioan Fericean
2013c16b0e small simplification 2014-04-25 10:38:13 +03:00
DanB
ddcd54db4b Integration of DerivedCharging within mediation 2014-04-24 18:33:18 +02:00
DanB
90ab47ade9 Session manager refactoring to work with derived charging 2014-04-24 13:39:52 +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
bba4a878f0 Refactoring configuration for DerivedCharging 2014-04-22 13:13:39 +02:00
Radu Ioan Fericean
83b7034b7f Merge branch 'master' into console-ng 2014-04-19 16:33:59 +03:00