Commit Graph

66 Commits

Author SHA1 Message Date
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
Radu Ioan Fericean
24c79b6b22 working version for cache transactions 2014-09-03 19:17:55 +03:00
Radu Ioan Fericean
165fad5849 clean expired balances on debit 2014-09-01 15:26:04 +03:00
Radu Ioan Fericean
1ea0341db0 add Category to Actions 2014-08-24 18:08:10 +03:00
DanB
1ff2af86d4 Fix Thresholds not being calculated for new balances 2014-08-06 01:45:32 +02:00
DanB
a48fa90dd8 Fix balance thresholds not being executed 2014-08-02 21:13:11 +02:00
Radu Ioan Fericean
8aa5540d23 action's execute now get stats queue 2014-07-15 18:33:46 +03: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
DanB
da6f9cad6a ApierV1 methods for add, get, remove aliases, local tests attached 2014-05-12 19:03:07 +02:00
DanB
370fc31db8 Adding TOR support inside CDRs 2014-05-09 19:24:38 +02:00
Radu Ioan Fericean
2b8b4f4791 renamed *call_duration to *voice 2014-05-08 17:09:42 +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
99faa0c112 recurrent action trigger 2014-04-25 19:23:24 +03:00
Radu Ioan Fericean
4fdf80c633 renamed *call to *call_duration 2014-04-25 19:13:14 +03:00
Radu Ioan Fericean
4265dff012 *minutes is now *call 2014-04-25 10:37:42 +03:00
Radu Ioan Fericean
4ffc8555a1 new call descryptor type attribute 2014-04-24 22:42:14 +03:00
Radu Ioan Fericean
efe9e19460 small fixes 2014-04-19 16:33:48 +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
2e6ee328c9 clean all balance precision, bugfix (thanks DigiDaz) 2014-04-06 23:48:55 +03:00
Radu Ioan Fericean
834a25ae74 Merge branch 'master' into lcr 2014-04-01 20:50:05 +03:00
Radu Ioan Fericean
a03b25cc45 cleaned unused fields 2014-04-01 20:49:34 +03:00
Radu Ioan Fericean
8276ea73b7 removed amount related stuff from calldesc 2014-03-31 14:06:46 +03:00