Commit Graph

74 Commits

Author SHA1 Message Date
Radu Ioan Fericean
418a9cf12f most engine tests passing
ResetAccountPending
2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
b2253e6385 refactoring 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
097c0073a0 engine compiling 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
65b8e3ed41 tests for set triggers 2016-02-05 15:32:47 +02:00
Radu Ioan Fericean
b2a39ed867 action triggers expiration and activation times 2016-02-04 18:46:06 +02:00
Radu Ioan Fericean
9ce16de6f8 SetAccount api 2016-01-25 15:39:33 +02:00
Radu Ioan Fericean
834c12f8fa use map for shared group member ids 2016-01-12 20:32:43 +02:00
Radu Ioan Fericean
79dc7d5400 rate interval selection improvements
fixes #338
2016-01-06 18:45:33 +02:00
DanB
704b0811f3 Resolving conflicts from master 2015-12-27 11:17:05 +01:00
Radu Ioan Fericean
d5ab7e2a5e ID and UniqueID for action trigger 2015-12-15 17:56:44 +02:00
DanB
eac2e59451 Fix utils/consts 2015-12-03 13:19:10 +01:00
Radu Ioan Fericean
f57ebb16d2 create incerements for getcost as well 2015-11-30 19:38:58 +02:00
Radu Ioan Fericean
6dd613e526 Merge branch 'master' into cdrmerge 2015-11-16 10:09:50 +02:00
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
4b5ff94fd2 cleaned tests 2015-11-03 19:52:33 +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