Commit Graph

44 Commits

Author SHA1 Message Date
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
aa99a1e526 make sure connect fee is deducted only on LoopIndex = 0 2014-02-06 19:36:42 +02:00
Radu Ioan Fericean
f154dac933 connect fee changes
The connect fee is take from the first timespan after balance debit.
So if the balance has ratingsubject than that connect fee will be applied.
2014-02-06 18:56:21 +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
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
dbe8bde7bf optimized prefixes container 2013-12-16 19:09:56 +02:00
Radu Ioan Fericean
41dd86ca9a more optimizations for large destination keys 2013-12-16 15:17:20 +02:00
Radu Ioan Fericean
8a36ac72b9 improved refund testing and prepared stres test for profiling 2013-12-13 22:43:46 +02:00
Radu Ioan Fericean
950a357127 more fixes and test for credit refounding 2013-12-13 17:26:14 +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
76af5ddf17 one more debit test 2013-12-11 16:39:17 +02:00
Radu Ioan Fericean
d5f4417005 better rate subject monet debit 2013-12-11 14:48:16 +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
Radu Ioan Fericean
10dea0c55d show error on not enough credit when debiting 2013-12-04 21:26:17 +02:00
Radu Ioan Fericean
95b6cbbdc8 refactored unit counters 2013-12-04 11:44:48 +02:00
Radu Ioan Fericean
fb9483693f copy rating info on timespan split 2013-11-18 20:07:10 +02:00
Radu Ioan Fericean
a4559a68ea rating plan optimization 2013-10-24 19:22:55 +03:00
Radu Ioan Fericean
3466fa103b refactored rating plans structure 2013-10-21 19:18:56 +03:00
Radu Ioan Fericean
d03ff0a5cd newsubject tests and fixes 2013-10-15 14:56:39 +03:00
Radu Ioan Fericean
54ab6074a6 more loading fixes and more tests 2013-10-09 20:02:13 +03:00
Radu Ioan Fericean
88f789cea9 fixed broken test 2013-10-07 20:04:35 +03:00
Radu Ioan Fericean
4428c09748 ore tests and small fixes 2013-10-07 18:44:20 +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
Radu Ioan Fericean
6cd7edd8a2 refound money 2013-10-02 20:09:42 +03:00
Radu Ioan Fericean
09238f7355 spliting for money/minutes separation 2013-10-02 17:30:10 +03:00
Radu Ioan Fericean
552aa0904f using DestinationContainsPrefix method 2013-09-30 22:07:39 +03:00
Radu Ioan Fericean
17b982bdeb new debit shaping up 2013-09-24 18:50:44 +03:00
Radu Ioan Fericean
cd98141fbb still working on balance subject debit 2013-09-23 19:26:40 +03:00
Radu Ioan Fericean
372fbe0e10 started destination hash storage and colapsed debit actions 2013-09-09 20:45:46 +03:00
Radu Ioan Fericean
2f6b1f3f84 tests passing with new balance struct 2013-09-05 23:28:04 +03:00
Radu Ioan Fericean
f3f9d03c80 before switching to MINUTES+OUTBOUND 2013-09-05 20:17:14 +03:00
Radu Ioan Fericean
931c6efb1a converted minutebucket to balance, compiled but test fail 2013-09-05 19:14:22 +03:00
Radu Ioan Fericean
f82a2c58a8 better balance Equal function 2013-09-05 16:55:06 +03:00
Radu Ioan Fericean
5516c8ff1f started bucket balance merge 2013-09-04 18:18:49 +03:00
Radu Ioan Fericean
637e146ba2 absolute/percent const rename 2013-08-30 13:26:06 +03:00
Radu Ioan Fericean
7edcb9fd6e added round to minute util function and reverted to debit only available credit for prepaid 2013-08-29 15:51:03 +03:00
Radu Ioan Fericean
9004ef1075 using new msgpack package 2013-08-28 23:01:59 +03:00
Radu Ioan Fericean
20f1bf27c3 debit minutes even if balance goes negative 2013-08-28 18:02:54 +03:00
Radu Ioan Fericean
c651aabb32 killed internal serialization and started using msgpack 2013-08-23 19:54:06 +03:00
Radu Ioan Fericean
6c79fd2092 rater lib changed to engine 2013-07-24 13:38:45 +03:00