Commit Graph

322 Commits

Author SHA1 Message Date
Radu Ioan Fericean
4ea9d8f35a Merge branch 'master' into stats
Conflicts:
	apier/mediator.go
	cmd/cgr-engine/cgr-engine.go
	config/config.go
	config/config_test.go
	config/test_data.txt
	engine/cdrs.go
	engine/mediator.go
	general_tests/fsevcorelate_test.go
	test.sh
	utils/apitpdata.go
	utils/consts.go
2014-07-29 12:32:03 +03:00
DanB
7fff0b2aad Merge branch 'OsipsSM' 2014-07-28 18:15:05 +02:00
DanB
a541d32642 Adding SuppressCgrIds parameter on CdrExporter to prevent CgrIds reporting in replies 2014-07-28 16:11:46 +02:00
DanB
1d1aa5d3e1 Adding SupressCgrIds option to disable verbose reporting of Ids exported/not exported 2014-07-28 16:05:32 +02:00
DanB
e93b8a6c6f engine.Responder with ProcessCdr method, moved cdrs and mediator to engine 2014-07-25 17:44:50 +02:00
DanB
19e994ca8a Adding CDRSV1.ProcessCdr API to feed cdrs via RPC 2014-07-25 12:25:23 +02:00
DanB
f092d517df MediatorV1.RateCdrs with more filter options, renaming cdr arguments to reflect plurals properly 2014-07-23 19:53:52 +02:00
Radu Ioan Fericean
1091f58297 cdr stats csv load (without tests) 2014-07-22 22:10:39 +03:00
Radu Ioan Fericean
8a2adb5e61 SendToStats parameter for mediator methods 2014-07-21 20:19:07 +03: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
Radu Ioan Fericean
1289adc155 added reset filters for action trigger reset
+test
2014-07-17 19:40:08 +03:00
DanB
5430490ec5 Adding RatedAccount and RatedSubject inside StoredCdr 2014-07-17 14:27:06 +02:00
Radu Ioan Fericean
a42015a461 renamed BalanceKey to AccountKey 2014-07-17 11:56:13 +03:00
Radu Ioan Fericean
25da31a301 updated apier for expiration date 2014-07-17 11:40:07 +03: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