Commit Graph

611 Commits

Author SHA1 Message Date
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
DanB
59a083bc4c SMAsterisk - configuration cleanup, processCDR option introduced 2016-09-18 15:47:40 +02:00
DanB
0ea4987b8e CDRS fix CostSource when saving CDRs, SMAsterisk - better event naming when converting SMAEvent to SMGEvent 2016-09-18 14:47:19 +02:00
DanB
fea8be851d SMAsterisk - Init, terminate and process CDR for ARI event 2016-09-18 13:11:37 +02:00
DanB
aa10bbd19a SMAsterisk intial handlers for ChannelStateChange and ChannelDestroyed 2016-09-17 16:30:36 +02:00
DanB
9ed019ee53 SMAsterisk - adding eventsCache, SMAsteriskEvent.UpdateFromEvent 2016-09-17 14:06:49 +02:00
DanB
13da5dbc28 SMG - no refund for empty duration, TestSMASetupTime 2016-09-16 20:38:19 +02:00
DanB
21e574e91f Cancel test 2016-09-16 19:41:31 +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
7f92a4090e Remove debug logs 2016-09-16 16:28:41 +02:00
DanB
6cca93c0e1 CDRs.rateCDR increase wait time for SMCost to show up 2016-09-16 16:16:28 +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
80540bbfe3 SMAsterisk fix for variable set 2016-09-14 20:59:52 +02:00
DanB
49696b89dd SMAsterisk send init to SMGeneric and process answer 2016-09-14 20:27:22 +02:00
DanB
7fe5a0feba SMAsteriskEvent - full set of methods for extracting data out of ARI event 2016-09-13 20:25:11 +02:00
DanB
322e63fdcd SMAsteriskEvent with overwrites in appArgs 2016-09-13 16:16:02 +02:00
DanB
747a340b50 SMAsteriskEvent - AsSMGenericSessionStart 2016-09-13 16:05:44 +02:00
DanB
a0584446ed SMAsterisk - hangupChannel method 2016-09-13 12:58:30 +02:00
DanB
fcf32a8fcd Aringo version update 2016-09-12 20:46:04 +02:00
DanB
b3330c4a2d SMAsterisk - fix parsing of nil interface for stasis args 2016-09-12 20:37:23 +02:00
DanB
fe16ca04b6 SMAsteriskEvent with fields caching, parseStasisArgs 2016-09-12 20:30:25 +02:00
DanB
2a08feca83 ARIEvent with value caching, pass attributes to Stasis app 2016-09-12 19:54:37 +02:00
DanB
e47931e842 ARIEvent.ChannelID method 2016-09-12 15:44:30 +02:00
DanB
8329b5cc03 ARIEvent with initial tests 2016-09-12 15:30:39 +02:00
DanB
870ac367ae SMAsterisk subscribe channel resource 2016-09-11 12:56:23 +02:00
DanB
b3b05a710c SM-Asterisk - continue method for channel entering stasis 2016-09-11 12:26:06 +02:00