Commit Graph

98 Commits

Author SHA1 Message Date
Radu Ioan Fericean
b557e2a5a4 fixed connect fee issues 2014-02-28 23:24:55 +02:00
Radu Ioan Fericean
48d1720430 refund credit to shared group accounts 2014-02-27 17:12:59 +02:00
Radu Ioan Fericean
fc91e35433 shared balance fix 2014-02-27 14:04:59 +02:00
Radu Ioan Fericean
95d4af8ab7 more rounding and maxxsession improvement 2014-02-27 12:23:11 +02:00
Radu Ioan Fericean
b3dee97bc4 fixses and tests for aliases 2014-02-26 20:17:59 +02:00
Radu Ioan Fericean
074313b0f8 first aliases implementation
tests pending
2014-02-26 18:29:49 +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
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
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
aa99a1e526 make sure connect fee is deducted only on LoopIndex = 0 2014-02-06 19:36:42 +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
c7ea2cd263 miminmum match length is now parametrized and can be moved in the confs
Note that it affects the general speed
2014-02-03 10:53:32 +02:00
Radu Ioan Fericean
30a842a6b9 miminmum match length is now parametrized and can be moved in the confs
Note that it affects the general speed
2014-02-01 14:04:12 +02:00
Radu Ioan Fericean
31eebb7e81 Merge branch 'master' into shared_balances 2014-01-28 13:00:40 +02:00
Radu Ioan Fericean
a5fad89574 added disabling facility for user accounts 2014-01-28 12:22:50 +02:00
Radu Ioan Fericean
d765e0090b Merge branch 'master' into shared_balances
Conflicts:
	engine/loader_csv.go
2014-01-13 22:34:19 +02:00
Radu Ioan Fericean
f6758d0d0f More fixes for debit loop call duration 2014-01-12 19:34:56 +02:00
Radu Ioan Fericean
58ddae9b70 Started shared balances logic 2014-01-07 22:34:40 +02:00
Radu Ioan Fericean
3bc4823e1d handled term signals 2014-01-03 20:34:46 +02:00
Radu Ioan Fericean
08be8d1bb5 cutting extra decimals 2013-12-20 14:11:47 +02:00
DanB
d8977fc504 Merge branch 'master' of https://github.com/cgrates/cgrates 2013-12-19 20:01:31 +01:00
DanB
2ba458524e CDRS with datetime instead of timestamp, adding run_ids in mediator config section 2013-12-19 20:01:19 +01:00
Radu Ioan Fericean
a74a201735 seting increment cost to 0 for increments payed using free minutes 2013-12-19 18:44:58 +02:00
Radu Ioan Fericean
6fb2ca37c2 better rates rounding 2013-12-19 18:30:48 +02:00
DanB
f3d0c49803 Finishing implementation of different database handles for rating vs accounting subsystems 2013-12-18 20:02:47 +01: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
d69378a626 started new destination caching 2013-12-17 17:51:38 +02:00
Radu Ioan Fericean
022c426a20 further caching and optimizations 2013-12-14 16:51:28 +02:00
Radu Ioan Fericean
5a929dfeb0 some memory profiling and optimization 2013-12-14 15:20:58 +02:00
Radu Ioan Fericean
237508e590 performance enhancements 2013-12-14 12:44:42 +02:00
Radu Ioan Fericean
950a357127 more fixes and test for credit refounding 2013-12-13 17:26:14 +02:00
Radu Ioan Fericean
d99c0c076c fixed max debit function 2013-12-13 12:56:33 +02:00
Radu Ioan Fericean
b6e5ea82e0 substract connect fee for get max session time 2013-12-12 22:24:08 +02:00
Radu Ioan Fericean
895bf6b6c1 fixed a max session bug 2013-12-12 19:36:19 +02:00
Radu Ioan Fericean
da2ac4ea28 added some logging for max session time 2013-12-12 19:12:50 +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
6ff0d17d5f refactored debit credit method, now modular and better tested 2013-12-10 20:24:06 +02:00
Radu Ioan Fericean
3611494936 before rewrite 2013-12-10 20:24:06 +02:00
DanB
71ca9d8fe3 Adding apier.GetRatingPlans and various local tests 2013-12-06 20:49:00 +01:00
DanB
f0fbe79fca Adding test for insufficient balance 2013-12-05 10:44:36 +01:00
DanB
92f9849380 Adding realcalls_test file 2013-12-03 15:00:06 +01:00
DanB
f1e4b57b2c Fixup loader_csv to load call_url actions 2013-12-03 11:24:50 +01:00
DanB
fc4696cdaf Some more debug messages removal 2013-11-28 18:15:48 +01:00