Commit Graph

60 Commits

Author SHA1 Message Date
Radu Ioan Fericean
7b94ca7c9c Merge branch 'master' into radix 2015-11-16 10:05:44 +02:00
Radu Ioan Fericean
aef3bdeb47 connect fee gets debited first 2015-11-15 21:34:03 +02:00
Radu Ioan Fericean
83bced074c renamed *exp_balance in *balance_expired 2015-11-10 12:46:50 +02:00
Radu Ioan Fericean
9b9cdb860d test for *exp_balance trigger
fixes #269
2015-11-10 10:31:37 +02:00
Radu Ioan Fericean
ed9ed328f3 added exp_balance action trigger 2015-11-10 09:31:45 +02:00
Radu Ioan Fericean
d871a37ffa test for counters
fixes #199, fixes #213
2015-11-09 17:53:47 +02:00
Radu Ioan Fericean
5df030b1e7 removed all balances expired 2015-11-07 14:23:13 +02:00
Radu Ioan Fericean
4b40c761e0 unit tests passing 2015-11-03 16:53:34 +02:00
Radu Ioan Fericean
a44916465d triggers improvements
work in progress
2015-11-02 22:44:48 +02:00
Radu Ioan Fericean
88137b75db *generic balance used by all tors
fixes #250
2015-10-30 17:03:54 +02:00
Radu Ioan Fericean
23d85af439 timing ids and sharedgroup are now maps 2015-10-28 21:03:40 +02:00
Radu Ioan Fericean
07647f765b multiple categories in one balance
fixes #204
2015-10-22 17:01:42 +03:00
Radu Ioan Fericean
41c6a597aa direction as simple balance filter
work in proggress
2015-10-21 19:26:45 +03:00
Radu Ioan Fericean
d6f528d090 code cleanups, used consts from utils 2015-09-29 11:03:36 +03:00
Radu Ioan Fericean
991fc09884 save action triggers to ratingdb 2015-09-20 10:42:53 +03:00
Radu Ioan Fericean
1154c25f81 added enabledisablebalance action
fixes #174
2015-09-15 14:24:49 +03:00
Radu Ioan Fericean
23593d585c better balance modyfy event 2015-07-28 14:17:34 +03:00
Radu Ioan Fericean
8f8da4af36 improvements on negative charging 2015-06-18 16:57:37 +03:00
Radu Ioan Fericean
bb52349e8f rating info for *zero based balances (#51, #96) 2015-06-17 16:58:02 +03:00
Radu Ioan Fericean
fcb5fee2fc normal test passing 2015-06-16 22:09:10 +03:00
Radu Ioan Fericean
eb759d8243 added *generic type debit test 2015-06-11 15:23:07 +03:00
Radu Ioan Fericean
36595d88f6 fix for cdrlog action 2015-05-25 16:30:40 +03:00
Radu Ioan Fericean
d2b4df69ca Balance DestinationId now take multiple destinations 2015-05-16 00:01:30 +03:00
Radu Ioan Fericean
5ac7c4508e refactored var name 2015-05-09 13:16:33 +03:00
Radu Ioan Fericean
599b67e743 refactored balance types 2015-04-24 20:19:37 +03:00
Radu Ioan Fericean
fbed64cd09 added test for max session duration from shared group 2015-03-11 20:41:54 +02:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
Radu Ioan Fericean
5679258f0e fix for not enough credit on max debit 2015-03-10 13:38:35 +02:00
Radu Ioan Fericean
65a5eaf78b all tests passing 2015-02-09 20:48:22 +02:00
Radu Ioan Fericean
41cb3ab7d1 work in progress 2015-02-09 20:48:22 +02:00
Radu Ioan Fericean
f0fc38e62a more tests and fixes 2015-02-06 19:02:52 +02:00
Radu Ioan Fericean
347e78d5b5 new core rating rules 2015-01-27 18:57:08 +02:00
Radu Ioan Fericean
ef101ce3b0 nil balance map fix
fix for adding default balance on uninitialized account
2015-01-06 14:21:40 +02:00
Radu Ioan Fericean
9b40c20915 topup/debit reset only reseting matched balances 2014-12-05 13:26:38 +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
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
Radu Ioan Fericean
fa7b97b5dc work on cache transactions 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
26fac17b33 started stats triggers 2014-07-15 15:43:33 +03:00
Radu Ioan Fericean
255fb4ea0e cd Tor to TOR 2014-04-26 01:50:08 +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
402a1fbc68 Call descriptot Type is now Tor 2014-04-25 21:50:34 +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
c790f59b58 initial tests for data rating 2014-04-25 13:00:51 +03:00
Radu Ioan Fericean
4ffc8555a1 new call descryptor type attribute 2014-04-24 22:42:14 +03:00
Radu Ioan Fericean
adc7c3d671 add ResetTriggeredAction api call 2014-04-09 18:27:36 +03:00
Radu Ioan Fericean
d624af2e94 Merge branch 'master' into lcr 2014-04-07 13:33:09 +03:00
Radu Ioan Fericean
7313e64362 rename RateSubject to RatingSubject 2014-04-06 12:58:21 +03:00
Radu Ioan Fericean
834a25ae74 Merge branch 'master' into lcr 2014-04-01 20:50:05 +03:00
Radu Ioan Fericean
8276ea73b7 removed amount related stuff from calldesc 2014-03-31 14:06:46 +03:00
Radu Ioan Fericean
8987b11cbd added lcr storage methods 2014-03-25 18:01:49 +02:00