Commit Graph

92 Commits

Author SHA1 Message Date
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
Radu Ioan Fericean
938f2fada0 test for max cost strategy 2015-03-23 16:52:24 +02:00
Radu Ioan Fericean
581648a04f max cost and strategy at rate level 2015-03-23 11:39:49 +02:00
Radu Ioan Fericean
79750c6374 fix shared group member ids issue 2015-03-12 13:35:06 +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
a75035af3c balance activation times (work in proggress) 2015-01-20 18:16:02 +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
3df2ee6d5f more fixes and tests on balance filter matching 2014-12-07 13:26:16 +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
680985200f Using map[interface{}]struct{} instead of []interface{} in cache 2014-11-26 18:28:07 +02:00
Radu Ioan Fericean
4b3c405dda fix account setting checks 2014-10-07 11:01:49 +03:00
Radu Ioan Fericean
6ecabf1d90 using _empty_ instead of *any for api 2014-09-10 15:22:04 +03:00