Commit Graph

61 Commits

Author SHA1 Message Date
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
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
77ea2754cb GetMaxSessionDuration fix
should return no more than initial call descriptor duration
2014-02-07 19:54:09 +02:00
Radu Ioan Fericean
cd531849d1 Merge branch 'master' into shared_balances 2014-02-07 19:12:28 +02:00
Radu Ioan Fericean
dadf06f3ef get max session duration method was modifing call descriptor 2014-02-07 19:10:44 +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
3bf3f04cc6 removed connect fee as a separte field in call cost 2014-02-06 01:34:38 +02:00
Radu Ioan Fericean
6fcd794005 moved hist init before populate 2014-01-31 18:49:49 +02:00
Radu Ioan Fericean
4638bad4d1 replaced storageGetter with dataStorage 2013-12-17 22:37:51 +02:00
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
237508e590 performance enhancements 2013-12-14 12:44:42 +02:00
Radu Ioan Fericean
c68660367b improved max session duration (used to check initial connect) 2013-12-12 15:45:49 +02:00
Radu Ioan Fericean
a483d2304e tests for rating info activation times 2013-11-18 19:36:54 +02:00
Radu Ioan Fericean
3466fa103b refactored rating plans structure 2013-10-21 19:18:56 +03:00
Radu Ioan Fericean
d608c6fe07 improved long timespans splitting 2013-10-11 20:15:47 +03:00
Radu Ioan Fericean
54ab6074a6 more loading fixes and more tests 2013-10-09 20:02:13 +03:00
Radu Ioan Fericean
f2a9154b41 simplified mediator call duration and more logging 2013-10-08 13:16:18 +03:00
Radu Ioan Fericean
617c3f9591 more tests 2013-10-07 17:03:00 +03:00
Radu Ioan Fericean
7632a8f14e tests passing on get max session time 2013-10-04 16:18:28 +03:00
Radu Ioan Fericean
c889eafb20 removed special price 2013-10-03 20:14:45 +03:00