Commit Graph

77 Commits

Author SHA1 Message Date
DanB
e0b8e9dfda Revert SMGeneric Timespans merge 2016-09-20 10:41:21 +02:00
DanB
53456b6e87 Remove timespans merging from SMG 2016-09-20 09:44:45 +02:00
DanB
3c84afc162 SMGeneric saveOperations with async support 2016-09-19 15:02:57 +02:00
DanB
d8761d9cec SMGeneric - debitLoop with channel sleep for real-time select 2016-09-18 17:46:36 +02:00
DanB
13da5dbc28 SMG - no refund for empty duration, TestSMASetupTime 2016-09-16 20:38:19 +02:00
DanB
20562f9fa2 SMG - Apply Merge only when timespans are too big 2016-09-16 19:39:51 +02:00
DanB
09df8271c2 SMAsterisk with MaxUsage instead of InitiateSession, SMAsteriskEvent.AsSMGenericCGRAuth 2016-09-16 19:28:59 +02:00
DanB
357c3274f7 Avoid double decompressing in session to speed up a bit 2016-09-16 17:32:29 +02:00
DanB
30d6603967 Slightly improve the refund by not compressing timespans anymore 2016-09-16 17:29:58 +02:00
DanB
58086fcf0b Merge in SMGeneric to store compressed timestamps 2016-09-16 13:56:44 +02:00
DanB
c3347faf6c Timespans.Merge to compress in SM 2016-09-15 20:45:43 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
Radu Ioan Fericean
5d26c5e31f compilation fix 2016-08-18 12:38:21 +03:00
Radu Ioan Fericean
8d286a7c07 disabled refunding logs 2016-08-18 12:35:41 +03:00
Radu Ioan Fericean
e84e28faae cache refactoring for save and load 2016-06-07 22:43:02 +03:00
RBarrabe
a6fc2b9aa1 Get TOR from session 2016-05-03 15:21:26 +02:00
Radu Ioan Fericean
3db05157ac tests passing on hapool with response_ttl > 0 2016-05-03 15:18:17 +03:00
Radu Ioan Fericean
ff0c94c18a tests for total usage 2016-04-29 18:36:09 +03:00
Radu Ioan Fericean
dd48ee7687 data usage fix 2016-04-29 17:35:09 +03:00
DanB
34e604900d More fixes 2016-04-26 12:04:07 +02:00
DanB
68c9826560 Merge fixes 2016-04-18 20:34:50 +02:00
Radu Ioan Fericean
8a09ed24a9 changed total usage formula 2016-04-18 19:52:33 +03:00
DanB
69ece5cb94 Added OriginID filter in SMGenericV1.ActiveSessions, disabled sessionEnd in SMGeneric.ttlTerminate for testing purposes, testing total usage in active sessions 2016-04-18 17:34:21 +02:00
Radu Ioan Fericean
1f13daa31c all tests passing on session ttl 2016-04-15 16:21:14 +03:00
DanB
8f1a3b61be Merge master 2016-04-10 11:47:00 +02:00
DanB
922b5509c6 Removing some Debug messages 2016-04-04 15:14:26 +02:00
Radu Ioan Fericean
3ba9a2d0f2 more smg session debug logging 2016-04-04 15:25:09 +03:00
Radu Ioan Fericean
ec3375d73a test for wrong gob 2016-03-31 21:34:51 +03:00
DanB
4e1b0ab7d1 Merge fix 2016-03-29 20:20:18 +02:00
DanB
3ac526a05e CDRS forking rated CDRs depending on smg_costs, smg_costs indexing update to include origin_id also 2016-03-29 19:55:29 +02:00
Radu Ioan Fericean
c3feacac7d last usage test fixes 2016-03-29 19:43:45 +03:00
Radu Ioan Fericean
33401a78f7 extra duraction improvements 2016-03-29 19:34:01 +03:00
Radu Ioan Fericean
1a390c9e7d last usage tests 2016-03-28 21:30:26 +03:00
Radu Ioan Fericean
9a1d922d02 Merge branch 'master' into smg 2016-03-28 16:00:54 +03:00
DanB
608f430db7 Storage - SetSMCost and GetSMCost deprecating LogCallCost and GetLogCallCost, CDRS.StoreSMCost method, adding sm_costs indexes for cgrid+runid and originhost+originid in all dbs supported 2016-03-26 22:17:10 +01:00
Radu Ioan Fericean
38719cbab2 updated vagrant and started smg simplification 2016-03-25 18:28:20 +02:00
DanB
b8dab6b502 Fix merge issues 2016-03-25 17:11:38 +01:00
Radu Ioan Fericean
4ff66e0883 populate cdr Usage 2016-03-24 17:39:47 +02:00
Radu Ioan Fericean
bf745d1ea5 add cgdr usage in lastusage scenario 2016-03-24 13:17:38 +02:00
DanB
31456e2a9c Fix merge conflicts, improving creation of new rpc pool 2016-03-24 09:18:38 +01:00
Radu Ioan Fericean
a1118d2423 usage corrections 2016-03-23 21:52:43 +02:00
Radu Ioan Fericean
fbbc067a5d more lastusage tests 2016-03-22 17:48:23 +02:00
Radu Ioan Fericean
b6f6562567 improve cacll cost calculation after refund 2016-03-18 10:02:15 +01:00
DanB
3097315aa9 SMGenericV1.ActiveSessions implementation 2016-03-17 20:45:14 +01:00
DanB
6518d5c422 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-03-17 17:45:28 +01:00
DanB
0f38ebabdd Adding LastUsed to SMG.sessionEnd 2016-03-17 17:45:24 +01:00
Radu Ioan Fericean
dd5e8bb510 make refund use merged callcost 2016-03-17 12:50:27 +01:00
Radu Ioan Fericean
3ec470060a refund can go past the last update 2016-03-17 12:47:39 +01:00
DanB
377b0d5749 SMG.debit - store lazy the lastUsed 2016-03-16 18:34:50 +01:00
DanB
73e977059c Fix for LastUsage in SMGeneric 2016-03-16 09:50:07 +01:00