Commit Graph

311 Commits

Author SHA1 Message Date
DanB
f092d517df MediatorV1.RateCdrs with more filter options, renaming cdr arguments to reflect plurals properly 2014-07-23 19:53:52 +02:00
DanB
fd532fb1c3 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-07-17 20:42:42 +02:00
Radu Ioan Fericean
f6d0454a81 added reset filters for action trigger reset
+test
2014-07-17 19:42:03 +03:00
DanB
5430490ec5 Adding RatedAccount and RatedSubject inside StoredCdr 2014-07-17 14:27:06 +02:00
DanB
a449194b62 CdrExporter with configurable field separator, counters for sms and data usage 2014-07-16 10:56:56 +02:00
DanB
5a1994a943 Apier.AddTriggeredAction receiving now BalanceWeight and ExpiryTime 2014-07-16 09:36:15 +02:00
DanB
430da9b714 CdrExporter does not longer make differences between .csv and .fwv formats handling, treating fields mandatory property also 2014-07-15 11:59:46 +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
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
056b9c6c61 Fixup Responder.GetDerivedCharging, adding localtests for both ApierV1.GetDerivedCharging and Responder.GetDerivedCharging 2014-06-17 12:51:18 +02:00
DanB
bc5a80fe25 Adding *voice balance and derived charging inside fs_json tutorial, fixup loading of derived charging from csv 2014-06-15 19:05:00 +02:00
DanB
c973ea99e2 Fixups CdrExporter, derived charging should not transfer but kill the session if errors onAnswer 2014-06-15 12:22:06 +02:00
DanB
4545ca1a30 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-06-05 11:06:51 +02:00
DanB
f9f994cd7e HttpSkipTlsVerify for http client 2014-06-05 11:02:17 +02:00
Radu Ioan Fericean
3d99f917f5 renamed balance_add to balance_set
now it accepts negative values
2014-06-04 18:43:29 +03: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
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
93fa37b20b Including TOR field in cdrc, tests fixups 2014-05-25 11:16:52 +02:00
DanB
ad4fedc197 Fork cdrc over multiple folders based on xml configuration 2014-05-21 17:39:25 +02:00
DanB
5aef6595a2 Fixup local tests regarding AttrGetAccount 2014-05-19 18:03:40 +02:00
DanB
1ad4068d73 Fixup CdrServer receiving nanoseconds as usage, more tests 2014-05-19 17:50:31 +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
4d33d7cf81 DestinationRates accepting * any as destination id, adding sample data plan to prepaid1centpsec sample tariff plan 2014-05-18 14:54:34 +02:00
DanB
2acd4377e9 apier/costs.go file 2014-05-16 20:09:00 +02:00
DanB
8c29d041f1 Initial ApierV1.GetDataCosts 2014-05-16 20:08:34 +02:00
DanB
a90356d62c Fixup re-rating not using cost -1 2014-05-15 16:00:34 +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
65b7f19871 Adding GetActions API with tests 2014-05-14 12:46:37 +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
c3f8521ad4 Get Aliases now from cache only 2014-05-13 11:58:50 +02:00
DanB
e157966af2 Small fixups on Alias keys 2014-05-12 19:12:42 +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
23e2db7332 RPC MediatorV1 moved to apier package for centralized documentation 2014-05-11 13:20:25 +02:00
DanB
7bc0003fcf GetStoredCdrs taking TORs as filter 2014-05-11 13:09:53 +02:00
DanB
e893862f26 MySQL data structures refactoring, fixups rounding methods migration 2014-05-08 10:20:46 +02:00
Radu Ioan Fericean
6d0cbfe2aa local tests fixes for rounding movement 2014-05-07 20:02:02 +03:00
DanB
e74a98fead Finished internal CDR handling refactoring, fixups tor->category, ratingProfile definition changes, ActionTriggers with Recurrent property 2014-05-07 12:41:57 +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
5e114192b6 Fixup APIs DerivedCharging, adding more tests 2014-04-28 17:11:37 +02:00
DanB
e39187eab9 TOR -> Category in relation with DerivedCharging 2014-04-28 12:06:42 +02:00