Commit Graph

99 Commits

Author SHA1 Message Date
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
DanB
95e09e7a77 Adding CGRID and RunID in refundIncrements, fixing cached refunds 2017-06-09 19:44:30 +02:00
DanB
7a80840e23 EventCost replacing CallCost in SMGSession 2017-06-01 12:00:37 +02:00
DanB
a1f207dd00 EventCost BalanceChargeUUID -> AccountingUUID 2017-05-29 16:31:22 +02:00
DanB
a216840591 SMGeneric refund fix 2017-05-29 09:55:05 +02:00
DanB
2341ea95aa EventCost Clone and initial Trim methods 2017-05-23 19:08:54 +02:00
DanB
6faeee47dd StartEngine changes in libtest 2017-05-12 19:20:41 +02:00
DanB
336b41dd1a Remove SessionCDs out of SMGSession 2017-05-12 18:43:01 +02:00
DanB
7f789247a1 SMG - update ExtraDuration only if useful 2017-04-28 19:27:49 +02:00
DanB
057a7fd420 SMGeneric - locks for SMGSession 2017-04-03 19:31:14 +02:00
DanB
e452d455f4 SMG replication with session cloning to avoid concurrency on slow replication 2017-04-03 13:18:13 +02:00
DanB
47dfa5af91 SMG refund cases handling 2017-03-09 18:48:34 +01:00
DanB
c8b71c6a61 SMG - debit if not enough charged on session close 2017-03-08 17:12:02 +01:00
DanB
800d339975 SMGeneric - Bidirectional communication though rpc2 library 2017-01-25 20:30:29 +01:00
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