Commit Graph

85 Commits

Author SHA1 Message Date
Regis
c056d1b5bf adding connect fee only in first timestamp 2016-11-30 15:52:54 +01:00
DanB
1d0011b6dc SMGeneric fix compute mechanism in getSessionIDsForPrefix 2016-11-25 14:23:32 +01:00
DanB
d253be03ac SMGeneric using CGRID instead of OriginID for session indexing 2016-11-07 17:22:54 +01:00
DanB
551f9ea69d SMGSession exporting more fields so we can replicate, ActiveSession.RunId -> ActiveSession.RunID 2016-10-27 11:45:50 +02:00
DanB
da53e555b9 SMAsterisk with support for SMGClientV1.DisconnectSession 2016-09-21 12:13:04 +02:00
DanB
444a8efc16 Refactoring bidirectional connnections in SMGeneric for session disconnects 2016-09-21 11:33:27 +02:00
DanB
2c8cf6fbc0 SMGeneric with storeSMCost separately and goroutine only for large timespans 2016-09-20 18:26:15 +02:00
DanB
3b17eee8e1 SMGeneric saveOperations without goroutines 2016-09-20 17:35:45 +02:00
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