Commit Graph

110 Commits

Author SHA1 Message Date
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
16beb55df8 Fix conflicts from master 2015-12-13 11:31:26 +01:00
Radu Ioan Fericean
961cfc74ae debug logging 2015-12-11 16:34:26 +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
feedacc7b5 protection against nil unit counter 2015-11-25 13:29:04 +02:00
Radu Ioan Fericean
0af46970c3 hardcode direction in old account structure 2015-11-16 18:40:42 +02:00
Radu Ioan Fericean
6dd613e526 Merge branch 'master' into cdrmerge 2015-11-16 10:09:50 +02:00
Radu Ioan Fericean
9bc82ada01 fix general tests 2015-11-15 22:02:19 +02:00
Radu Ioan Fericean
aef3bdeb47 connect fee gets debited first 2015-11-15 21:34:03 +02:00
Radu Ioan Fericean
e94414e1f1 added RemoveBalances API
fixes #239
2015-11-12 11:43:01 +02:00
Radu Ioan Fericean
515684ea38 action transaction tests
fixes #284
2015-11-11 19:34:26 +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
80101640b9 safer threshold type checks 2015-11-10 09:32:19 +02:00
Radu Ioan Fericean
ed9ed328f3 added exp_balance action trigger 2015-11-10 09:31:45 +02:00
Radu Ioan Fericean
b92bd74126 safer threshold type checks 2015-11-06 15:58:28 +02:00
DanB
d830dc7762 Fix ApierV1.GetAccount and GetAccounts to display old account format properly 2015-11-04 17:30:42 +01:00
Radu Ioan Fericean
1f20539bb3 convert *max/min_counter to *max/min_event_counter
this is the default behavior
2015-11-03 18:43:12 +02:00
Radu Ioan Fericean
233b4b0b4a fix init counters 2015-11-03 18:21:23 +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
c11a8b279b better unit counter init 2015-11-02 14:15:40 +02:00
Radu Ioan Fericean
7139450819 started unit counters refactoring
work in progress
2015-10-30 18:37:30 +02:00
Radu Ioan Fericean
c81db1afcc Factor value parsing 2015-10-30 18:15:23 +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
1e1c115ed4 unit counters revision 2015-10-30 11:26:49 +02:00
Radu Ioan Fericean
3d3cdb0252 implemented AsOldStructure for accounts 2015-10-28 22:25:18 +02:00
Radu Ioan Fericean
23d85af439 timing ids and sharedgroup are now maps 2015-10-28 21:03:40 +02:00
Radu Ioan Fericean
332bb5e26c add *default Id to default balance
reference to #251
2015-10-22 16:01:02 +03:00
Radu Ioan Fericean
0745cee158 engine tests passing 2015-10-21 22:28:16 +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
3d20c99f64 added account info to balance from action 2015-10-03 00:30:22 +03:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
Radu Ioan Fericean
f2c8af67e0 mark the created default balance 2015-09-29 12:54:42 +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
ac7eb6fbaf trim spaces for balance dest ids 2015-09-20 10:11:37 +03:00
Radu Ioan Fericean
1154c25f81 added enabledisablebalance action
fixes #174
2015-09-15 14:24:49 +03:00
Radu Ioan Fericean
ec040b4ae6 added reverse alias APIs and console commands
fixes #170, fixes #168
2015-09-07 17:22:54 +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
fcb5fee2fc normal test passing 2015-06-16 22:09:10 +03:00
Radu Ioan Fericean
eb8df9892a getcost uses maxcost strategy 2015-05-25 20:16:36 +03:00
Radu Ioan Fericean
36595d88f6 fix for cdrlog action 2015-05-25 16:30:40 +03:00
Radu Ioan Fericean
253d3e4f0a return error on missing rate intervals 2015-05-20 14:12:21 +03:00
Radu Ioan Fericean
d2b4df69ca Balance DestinationId now take multiple destinations 2015-05-16 00:01:30 +03:00
Radu Ioan Fericean
599b67e743 refactored balance types 2015-04-24 20:19:37 +03:00
Radu Ioan Fericean
eb60e6caf5 fix for the lock issue 2015-04-03 22:33:16 +03:00