Commit Graph

133 Commits

Author SHA1 Message Date
DanB
e4dc69755a Parsing of the Supplier from switch events 2015-04-04 18:55:30 +02:00
DanB
f5803b8e9c Adding supplier in derived charging 2015-04-04 17:47:42 +02:00
DanB
1ec59ad794 Adding supplier field in StoredCdr and related, rename IgnoreDerived-> FilterOnDerived in getCdrs function, fixed postgres load from tp_rates 2015-04-04 16:35:59 +02:00
Radu Ioan Fericean
c100e171d4 added CdrStatQueueIds to rating profiles 2015-04-02 21:10:21 +03:00
Radu Ioan Fericean
66abb755cb new lcr structure 2015-03-31 18:25:06 +03:00
DanB
7677a5ff89 Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication 2015-03-27 18:29:28 +01:00
DanB
6c765fbe7f Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-23 17:40:35 +01:00
DanB
5645579fe7 Adding CostDetails to both StoredCdr and CgrExtCdr objects 2015-03-23 17:40:21 +01:00
Radu Ioan Fericean
643636872e moved max cost and strategy at destination rate level 2015-03-23 14:41:25 +02:00
Radu Ioan Fericean
581648a04f max cost and strategy at rate level 2015-03-23 11:39:49 +02:00
DanB
98551316d6 Json config part for mediation CDR replication 2015-03-17 10:30:25 +01:00
DanB
dd6977e43d Change ReqType to use META(*) as prefix in front of the type for consistency with the rest of the system (eg: prepaid -> *prepaid 2015-03-15 19:16:50 +01:00
DanB
6d4844afcf Fix ApierV1.LoadTariffPlanFromFolder on non-existent folder (thanks @catokx), increased category field to 32 char in SQL tables 2015-03-05 12:15:22 +01:00
DanB
f3e97e3392 Paginator parameters rename 2015-03-02 13:19:42 +01:00
DanB
56b37feafe Merge branch 'master' of https://github.com/cgrates/cgrates 2015-02-08 20:54:06 +01:00
DanB
6ed45a52fe RSRField with filterValue support, CDRC implementing instances based on processed folder, import filters 2015-02-08 20:53:56 +01:00
Radu Ioan Fericean
d10366457a added extra uniqueid for action triggers 2015-02-06 15:34:24 +02:00
DanB
211f980329 Default RunId changed to *default for consistency, StoredCdr.Rated property so we can import already calculated CDRs, fixes for SkipErrors and SkipRated API filters for CDRs, created_time fix on MySQL, fix injected Cost when importing from external file and .Rated is false 2015-02-05 17:01:45 +01:00
DanB
490bd9d573 ApierV2.GetAccountIds, remove utils.EMPTY symbol, fix /etc/cgrates folder in packaging, thanks esamuels 2015-02-03 19:56:27 +01:00
Radu Ioan Fericean
0bb8691101 balance activation times 2014-12-22 23:02:14 +02:00
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
Radu Ioan Fericean
524e2cc94d added balance tag for action 2014-12-04 20:13:19 +02:00
Radu Ioan Fericean
2dd3f6527d added balance tag for action triggers
also chenged the names of direction and destination params (prefixxed
with balance)
2014-12-04 20:13:19 +02:00
DanB
cbc7a5095c Adding DataUsageMultiplyFactor within CDRC 2014-10-22 13:45:21 +02:00
DanB
b7b22a39e0 Partial implementation of TPExporter, adding CgrRecordWriter interface 2014-10-17 19:49:04 +02:00
DanB
1907d84d58 Consts fixup 2014-10-03 14:44:04 +02:00
DanB
0a9c6d3844 Small local test fix so Travis will behave 2014-10-02 19:34:29 +02:00
DanB
e4c9cf561a Refactoring CDRE and CDRC configurations and functionality 2014-10-02 19:02:23 +02:00
DanB
e197cef030 Reordering ActionTriggers.csv for eficiency purposes 2014-09-22 13:28:14 +02:00
DanB
fd84f0e90e Modified Actions.csv fields order to make easier it's understanding 2014-09-21 20:25:36 +02:00
Radu Ioan Fericean
6ecabf1d90 using _empty_ instead of *any for api 2014-09-10 15:22:04 +03:00
Radu Ioan Fericean
90f77cf158 one more test 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
fa7b97b5dc work on cache transactions 2014-09-03 19:17:54 +03:00
DanB
1e75bfed20 TP_ID_SEP -> CONCATENATED_KEY_SEP, apier_local_tests fixes for gorm 2014-09-02 16:58:16 +02:00
Radu Ioan Fericean
7dc72725fc add account actions tp and apier methods 2014-08-25 14:49:09 +03:00
Radu Ioan Fericean
d0597921df add Category to ActionTriggers 2014-08-24 18:28:05 +03:00
Radu Ioan Fericean
1ea0341db0 add Category to Actions 2014-08-24 18:08:10 +03:00
Radu Ioan Fericean
fd045e8b38 add derived chargers tp and apier methods 2014-08-24 13:56:13 +03:00
Radu Ioan Fericean
46c059bdb7 add cdr stats tp methods 2014-08-22 16:29:45 +03:00
DanB
ba3eb3dda4 CdrStatsConfig with defaults 2014-08-01 12:52:43 +02:00
Radu Ioan Fericean
b012922272 test for cdr stats csv load 2014-07-30 14:23:31 +03:00
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
e93b8a6c6f engine.Responder with ProcessCdr method, moved cdrs and mediator to engine 2014-07-25 17:44:50 +02:00
Radu Ioan Fericean
1091f58297 cdr stats csv load (without tests) 2014-07-22 22:10:39 +03:00
DanB
ae78f8fba0 Adding FieldAsString method to extract RatedAccount and RatedSubject, tests 2014-07-17 16:15:25 +02:00
DanB
5daf99f875 DerivedCharging run filters are now chained 2014-07-11 18:12:51 +03:00
DanB
a62ab32bbc Merging old ParseRSRFields from config with new one in utils 2014-07-11 18:12:51 +03:00
DanB
8c23a91f05 Logic to handle multiple derived charging run filters inside mediator and session manager 2014-07-11 18:12:51 +03:00
DanB
14c613150f StoredCdr.PassesFieldFilter with grouping in regexp rules, fsevent with PassesFieldFilter method for derived charging 2014-07-11 18:12:50 +03:00
DanB
57110e81c8 Loader for derived charging filters, using derived chargers filters within mediator and session manager, filter implementation inside StoredCdr 2014-07-11 18:12:50 +03:00