Commit Graph

640 Commits

Author SHA1 Message Date
Edwardro22
048203a19e Refactoring of IT Tests 2016-11-28 14:17:56 +01:00
Edwardro22
7cf420f173 SM integration tests refactoring 2016-11-28 13:53:36 +01:00
DanB
1d0011b6dc SMGeneric fix compute mechanism in getSessionIDsForPrefix 2016-11-25 14:23:32 +01:00
DanB
9b34f98521 SMGeneric - use pointer for locking 2016-11-18 17:06:24 +01:00
DanB
443c594edc StorageMongo creating indexes based on storDBType 2016-11-17 13:18:43 +01:00
DanB
37ca876db4 Small cleanups SMGeneric 2016-11-14 21:04:26 +01:00
DanB
f393840156 SMGeneric - fix for unprotected session terminators 2016-11-14 11:37:03 +01:00
DanB
a44cb0ad17 SMGeneric - make sure we return SessionNotFound for both update and terminate without init 2016-11-10 16:39:21 +01:00
DanB
e6a27764a3 SMGeneric - replicate only on changes 2016-11-10 15:11:20 +01:00
DanB
f5e6c95a6c SMGeneric common index configuration for active/passive sessions 2016-11-10 14:15:15 +01:00
DanB
12bf0667ef SMGeneric simplified active/passive table management, unified SMGenericV1.ActiveSessions and SMGenericV1.PassiveSessions logic 2016-11-10 13:32:30 +01:00
DanB
9784dc7c38 SMGeneric returning SESSSION_NOT_FOUND, unified RPC methods for SMG, rpcclient update to failover on SESSION_NOT_FOUND 2016-11-09 19:19:17 +01:00
DanB
c8750261eb SMGeneric - improved session indexing considering runID, passive sessions with session prefix implementation 2016-11-09 16:53:06 +01:00
DanB
b3dbf0daa9 SMGeneric - passive sessions indexing 2016-11-08 20:54:05 +01:00
DanB
955ada732f SMGeneric - faster session unindexing 2016-11-08 19:52:33 +01:00
DanB
65a2ae76a7 SMGeneric Session replication in alpha state 2016-11-08 16:31:41 +01:00
DanB
1a946e1ce5 SMGenericV1.ActiveSessions returning NOT_FOUND for 0 active sessions, SMG one way session replication operational 2016-11-08 15:27:03 +01:00
DanB
9b0b6c0a95 SMGeneric with transition mechanisms for passive to active and opposite 2016-11-08 12:27:29 +01:00
DanB
4fab18a94c SMGeneric set and remove passiveSessions with checks in activeSessions cache 2016-11-07 20:35:39 +01:00
DanB
d253be03ac SMGeneric using CGRID instead of OriginID for session indexing 2016-11-07 17:22:54 +01:00
DanB
5e00fa9533 SMG.setSessionTerminator method 2016-11-04 20:45:45 +01:00
DanB
e1eab6e35f SMG - ttlTerminate only if session is in active sessions table 2016-11-04 19:55:49 +01:00
DanB
6e84123b8b SMGeneric with cached responses 2016-11-04 19:42:56 +01:00
DanB
b0df6520b6 SMG - PassiveSession replication for init, update and terminate events 2016-11-03 19:14:03 +01:00
DanB
6596c926b9 Improved SMG SessionReplication mechanism 2016-11-02 19:00:14 +01:00
DanB
ac56b0dc29 SMG.SetPassiveSessions using replication for all derived sessions in one message instead of individual ones for consistency, remove supported 2016-11-02 15:54:01 +01:00
DanB
864450809d SMGeneric SessionReplication with connection establishment 2016-10-28 17:28:06 +02:00
DanB
2cb3faa033 SMG.GetPassiveSessions command implementation 2016-10-28 14:46:07 +02:00
DanB
3f3ad29ab1 SMGeneric - basic session replication mechanism without connection establishment 2016-10-27 21:17:56 +02:00
DanB
cdf8960a42 SMGeneric TestSetPassiveSession 2016-10-27 14:02:33 +02:00
DanB
010ab252df SMGenericV.SetPassiveSession 2016-10-27 12:26:25 +02:00
DanB
551f9ea69d SMGSession exporting more fields so we can replicate, ActiveSession.RunId -> ActiveSession.RunID 2016-10-27 11:45:50 +02:00
DanB
23693c2df2 SMGeneric - different tables for active and passive sessions, storage_mongo to avoid dropping system namespace on flushdb 2016-10-26 12:27:26 +02:00
Shane Neuerburg
6c05c42c44 Add command line flag to cgr-engine for logging levels
This adds a new -log_level flag to cgr-engine, defaulting to 5 (INFO). The logger has been extended to drop log messages that do not meet or exceed the log level requested.
2016-10-21 19:31:24 -06:00
DanB
3bd6ec39bd Decouple authorization from lcr in SM-FreeSWITCH, fixes #567 2016-10-20 13:39:01 +02:00
DanB
83df467a74 Update rpcclient version 2016-10-05 18:33:54 +02:00
DanB
5acb02995b SMAsterisk with bidirectional disconnect, alpha version of SMAsterisk ready for tests, fixes #148 2016-09-23 14:13:17 +02:00
DanB
d14976a2de SMGeneric with Call method, cgr-engine passing concrete SMGeneric object instead of interface as internalSMGChan 2016-09-23 13:13:02 +02:00
DanB
0f2a6ede59 BiRPCInternalClient, modifying SMGeneric to work as BiRPCServer interface 2016-09-22 21:21:29 +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
4a010e4a9f SMGeneric - Synchronous saveOperations in sessionEnd 2016-09-19 12:45:39 +02:00
DanB
d8761d9cec SMGeneric - debitLoop with channel sleep for real-time select 2016-09-18 17:46:36 +02:00
DanB
3cff1cf23e SMGeneric.InitiateSession returns indefinite limit in case of debit loop 2016-09-18 16:22:53 +02:00
DanB
1c76c37dea SMGeneric - only allow SessionUpdate if debit loop is not active 2016-09-18 16:05:27 +02:00