Commit Graph

49 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
3bf3f04cc6 removed connect fee as a separte field in call cost 2014-02-06 01:34:38 +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
a5fad89574 added disabling facility for user accounts 2014-01-28 12:22:50 +02:00
Radu Ioan Fericean
4b0ccb7564 protection against recursive action execution from triggers 2014-01-14 17:26:16 +02:00
Radu Ioan Fericean
d28815bf0a execute action triggers on debit action 2014-01-14 13:24:06 +02:00
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
cd9eaecb83 changed the way the destinations are cached 2013-12-17 19:33:04 +02:00
Radu Ioan Fericean
022c426a20 further caching and optimizations 2013-12-14 16:51:28 +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
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
66c6efab96 fixed debit bug 2013-12-03 17:03:20 +02:00
Radu Ioan Fericean
b669d1d326 Added bool parameter for searching datadb for cached values or not 2013-11-28 18:09:24 +02:00
Radu Ioan Fericean
fb80c6c2a8 destinations using string and compression 2013-10-29 16:57:55 +02:00
Radu Ioan Fericean
a4559a68ea rating plan optimization 2013-10-24 19:22:55 +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
56b4a3f0a4 fix for bad timespan 2013-10-08 15:27:04 +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
f5059e55fa started minute new subject 2013-10-06 11:21:16 +03:00
Radu Ioan Fericean
85027f0764 new subject for monetary balances 2013-10-04 22:13:37 +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
6c35f6e340 improved csv loading 2013-09-25 21:52:06 +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
fa788103cf added test for all csv loaders 2013-09-14 17:58:52 +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
8f804b8bc5 refactorings, started groups 2013-08-30 19:02:05 +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
6c79fd2092 rater lib changed to engine 2013-07-24 13:38:45 +03:00