Commit Graph

71 Commits

Author SHA1 Message Date
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
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +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
73096da0b6 fix data matched prefix missing 2015-02-03 20:57:40 +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
0bb8691101 balance activation times 2014-12-22 23:02:14 +02:00
Radu Ioan Fericean
26c6c22832 match empty filters 2014-12-07 13:39:52 +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
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
1ea0341db0 add Category to Actions 2014-08-24 18:08:10 +03:00
Radu Ioan Fericean
a5bf017085 test balance match action trigger 2014-07-17 19:16:15 +03:00
Radu Ioan Fericean
ca4988dd77 Merge branch 'master' into stats
Conflicts:
	engine/action_trigger.go
2014-07-17 19:01:43 +03:00
Radu Ioan Fericean
93ec058b19 added RatingSubject and SharedGroup to action trigger 2014-07-17 19:00:12 +03:00
DanB
5a1994a943 Apier.AddTriggeredAction receiving now BalanceWeight and ExpiryTime 2014-07-16 09:36:15 +02:00
Radu Ioan Fericean
84dffb963a Merge branch 'master' into stats
Conflicts:
	cmd/cgr-engine/cgr-engine.go
	engine/action_trigger.go
	utils/rsrfield.go
2014-07-15 16:37:23 +03:00
Radu Ioan Fericean
8023de5f24 action trigger balance weight and exp time
also execute action trigger only on dirty balances
2014-07-15 16:14:58 +03:00
Radu Ioan Fericean
26fac17b33 started stats triggers 2014-07-15 15:43:33 +03:00
Radu Ioan Fericean
928adcfbf0 no more global rounding method 2014-05-07 15:00:02 +03:00
Radu Ioan Fericean
f45833edeb small fix 2014-04-30 19:19:44 +03:00
Radu Ioan Fericean
95a8e8a217 watch for max rate for unit costs as well 2014-04-29 14:33:28 +03:00
Radu Ioan Fericean
255fb4ea0e cd Tor to TOR 2014-04-26 01:50:08 +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
4ffc8555a1 new call descryptor type attribute 2014-04-24 22:42:14 +03:00
Radu Ioan Fericean
d3e5555b5c fix for rating subject shortucts 2014-04-21 12:03:15 +03:00
Radu Ioan Fericean
6dd22fa847 zero cost fix (♥ DigiDaz) 2014-04-07 12:11:09 +03:00
Radu Ioan Fericean
7313e64362 rename RateSubject to RatingSubject 2014-04-06 12:58:21 +03:00
Radu Ioan Fericean
a03b25cc45 cleaned unused fields 2014-04-01 20:49:34 +03:00
Radu Ioan Fericean
e381265ace save dirty balances at the end of debit 2014-03-23 20:21:05 +02:00
Radu Ioan Fericean
22adfb552f debit from shared group empty balances 2014-03-20 17:27:29 +02:00
Radu Ioan Fericean
b0cd66509c fix for shared get max session 2014-03-20 12:53:36 +02:00
Radu Ioan Fericean
a753a55119 fixed connectFee in max debit issue 2014-03-05 14:17:47 +02:00
Radu Ioan Fericean
0b0474fa23 fix for MaxDebit bug
max duration was calculated badly
2014-03-04 22:02:20 +02:00
Radu Ioan Fericean
7d9326965d don't overwrite account on load 2014-02-28 10:47:30 +02:00
Radu Ioan Fericean
39e93e7fb8 fixses and tests for shared balances 2014-02-27 16:54:11 +02:00
Radu Ioan Fericean
8d98436656 rounding after debit 2014-02-26 11:14:13 +02:00
Radu Ioan Fericean
0aa5223f78 Merge branch 'master' into shared_balances
Conflicts:
	engine/account.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	engine/storage_map.go
	engine/storage_redis.go
2014-02-21 16:36:48 +02:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00
Radu Ioan Fericean
f701a42948 renamed action's BalanceId to BalanceType
also added a topup test
2014-02-21 13:14:06 +02:00
Radu Ioan Fericean
b784edf5aa Merge branch 'master' into shared_balances
Conflicts:
	engine/balances.go
	utils/consts.go
2014-02-07 22:32:03 +02:00
Radu Ioan Fericean
914fe77117 rating subject can have multiple predefined values
Valid values can start with *zero + any duration 1m, 15m, 1h10m
2014-02-07 22:26:39 +02:00
Radu Ioan Fericean
a9d698e029 Merge branch 'master' into shared_balances
Conflicts:
	engine/balances.go
	engine/userbalance.go
2014-02-07 10:57:29 +02:00
Radu Ioan Fericean
59f650e3f8 small addition last night fix 2014-02-06 10:15:27 +02:00
Radu Ioan Fericean
462152a76d fixed rating with rating subject bug 2014-02-06 01:34:38 +02:00
Radu Ioan Fericean
3bf3f04cc6 removed connect fee as a separte field in call cost 2014-02-06 01:34:38 +02:00