Commit Graph

81 Commits

Author SHA1 Message Date
Radu Ioan Fericean
844840e184 fix for maxcost callcost information 2015-05-26 13:50:54 +03:00
Radu Ioan Fericean
97025381b3 test for GetCost with maxcost enabled 2015-05-26 12:30:17 +03:00
Radu Ioan Fericean
554d84266f higher weights are better 2015-05-20 14:12:21 +03:00
Radu Ioan Fericean
da7e2580b7 added holiday rating plan test 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
1e5e025cc3 use Id instead of ID 2015-05-15 14:47:16 +03:00
Radu Ioan Fericean
3cfeaf7ac5 add rating plan id to call cost 2015-05-14 11:06:25 +03:00
Radu Ioan Fericean
7b554b0c6d fix for zero duration calldescriptors 2015-05-04 11:24:22 +03:00
Radu Ioan Fericean
05c4974275 fix for #61
thank you eloycoto
2015-04-27 19:54:57 +03:00
Radu Ioan Fericean
599b67e743 refactored balance types 2015-04-24 20:19:37 +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
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
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
9b40c20915 topup/debit reset only reseting matched balances 2014-12-05 13:26:38 +02:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
Radu Ioan Fericean
fa7b97b5dc work on cache transactions 2014-09-03 19:17:54 +03:00
Radu Ioan Fericean
bbe64e3e30 fix for data interval splitting (thanks DanB) 2014-05-19 23:53:22 +03:00
Radu Ioan Fericean
7bda45fcce added max cost support 2014-04-29 15:24:54 +03:00
Radu Ioan Fericean
ede467c899 Merge branch 'lcr'
Conflicts:
	engine/calldesc.go
	engine/handler_derivedcharging.go
	mediator/mediator.go
	utils/apitpdata.go
2014-04-29 14:20:15 +03:00
Radu Ioan Fericean
fcdc0c03c7 Merge branch 'data'
Conflicts:
	engine/calldesc.go
	mediator/mediator.go
	sessionmanager/fssessionmanager.go
	utils/storedcdr.go
2014-04-29 14:13:48 +03:00
Radu Ioan Fericean
b5af601163 added max rate 2014-04-29 13:54:51 +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
575bcf2434 debit zero cost calls even for no credit 2014-04-25 17:16:59 +03:00
Radu Ioan Fericean
4ffc8555a1 new call descryptor type attribute 2014-04-24 22:42:14 +03:00
Radu Ioan Fericean
42718617b9 data get cost 2014-04-24 20:01:20 +03:00
Radu Ioan Fericean
df655e7751 handling *any destination id 2014-04-09 20:17:13 +03:00
Radu Ioan Fericean
7313e64362 rename RateSubject to RatingSubject 2014-04-06 12:58:21 +03:00
Radu Ioan Fericean
71f296d656 test for DigiDaz regression 2014-04-04 16:51:02 +03:00
Radu Ioan Fericean
8276ea73b7 removed amount related stuff from calldesc 2014-03-31 14:06:46 +03:00
Radu Ioan Fericean
5de1a83bf5 process all balances on debit (own+shared) 2014-03-21 18:01:28 +02:00
Radu Ioan Fericean
c6de153685 more tests and disabled shared gropup caching 2014-03-20 19:05:31 +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
19b7d0beb7 max session caclulus to consider shared groups 2014-03-19 19:09:25 +02:00
Radu Ioan Fericean
315eddb63f moved locking before debit 2014-03-19 17:32:02 +02:00
Radu Ioan Fericean
fdeecafe37 make sure the aliases are up-to-date after load 2014-03-05 16:54:29 +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
9006c5ed18 removed logs from tests 2014-03-01 00:11:05 +02:00
Radu Ioan Fericean
e6b02b84c0 extra tests for topup after load 2014-03-01 00:02:56 +02:00
Radu Ioan Fericean
fc91e35433 shared balance fix 2014-02-27 14:04:59 +02:00
Radu Ioan Fericean
b3dee97bc4 fixses and tests for aliases 2014-02-26 20:17:59 +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
a37dbf0734 renamed Account Type attribute
It's now AllowNegative and it's a boolean (was *prepaid/*postpaid)
2014-02-21 15:52:47 +02:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00