Commit Graph

107 Commits

Author SHA1 Message Date
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
3b17eee8e1 SMGeneric saveOperations without goroutines 2016-09-20 17:35: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
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
09df8271c2 SMAsterisk with MaxUsage instead of InitiateSession, SMAsteriskEvent.AsSMGenericCGRAuth 2016-09-16 19:28:59 +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
49696b89dd SMAsterisk send init to SMGeneric and process answer 2016-09-14 20:27:22 +02:00
DanB
f84c43b8f7 Fix session stripping in SMG.ActiveSessions 2016-09-08 12:37:29 +02:00
rinor
e929f93b6f rpc2 - github.com/cenkalti to github.com/cenk 2016-09-07 16:58:14 +02:00
rbarrabe
7ad7093eeb Update smgeneric.go 2016-09-02 14:42:37 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
69c51866ce NO_ACTIVE_SESSION error in SMG, integration tests improvements 2016-09-01 19:36:43 +02:00
DanB
7bd3a430d2 Fix return at LRUStore, SMGeneric to properly check EXISTS error 2016-08-30 09:59:09 +02:00
DanB
77164ceaf1 SMG - StoreSMCost error check fix, CDRS - Add syslog for errors served out of cache to detect key issues 2016-08-29 14:51:08 +02:00
DanB
dedb006d6c Faster ActiveSessionsCount 2016-08-26 15:42:45 +02:00
DanB
cd4fec5167 Better protection for session indexes 2016-08-26 14:43:31 +02:00
DanB
3b9756a9b4 Fix RunID in case of default session 2016-08-26 08:51:25 +02:00
DanB
f7ca7b400f SMGeneric.ActiveSessions with indexed filters 2016-08-25 22:20:51 +02:00
DanB
8a27dfc4d2 SMG - session indexing implementation with tests 2016-08-25 09:21:32 +02:00
Radu Ioan Fericean
8d286a7c07 disabled refunding logs 2016-08-18 12:35:41 +03:00
DanB
c8a86788ae CDRs - cache ProcessCdr API 2016-06-15 18:13:32 +02:00
DanB
d3c3bcc622 SMG - Fix session timeouts in case of session relocation 2016-06-05 15:49:36 +02:00
DanB
1095b5a822 SMGenericV1 methods change: GetMaxUsage->MaxUsage, GetLcrSuppliers->LCRSuppliers, SessionStart->InitiateSession, SessionUpdate->UpdateSession, SessionEnd->TerminateSession, ProcessCdr->ProcessCDR 2016-06-03 16:41:58 +02:00
DanB
d7f2330c6b New config options: httpposter_attempts, connect_timeout, reply_timeout, locking_timeout, fix connection drop detection in case of HA 2016-05-30 21:13:42 +02:00
DanB
842019f080 SMGeneric fix for no reply from RALs 2016-05-25 14:46:40 +02:00
Radu Ioan Fericean
3db05157ac tests passing on hapool with response_ttl > 0 2016-05-03 15:18:17 +03:00
DanB
27d5a7ba2f CDRs refactoring, adding versioning for internal RPC methods 2016-05-02 17:23:51 +02:00
DanB
68c9826560 Merge fixes 2016-04-18 20:34:50 +02:00
DanB
1f647e4ada SMGeneric SessionTTL back into code 2016-04-18 20:03:53 +02:00
DanB
2c118eb954 Simplified SMGeneric.ttlTerminate to avoid loops via updateSession 2016-04-18 18:06:15 +02: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
DanB
9933a03c79 SMGeneric - Consider SessionTTL settings in init event 2016-04-18 12:20:19 +02:00
Radu Ioan Fericean
1f13daa31c all tests passing on session ttl 2016-04-15 16:21:14 +03:00
DanB
b81eeca201 SMG SessionTTL, totalUsage in end event fix 2016-04-15 10:00:46 +02:00
DanB
dc117b0995 Fix for SMG - SessionTTL 2016-04-15 09:21:41 +02:00
DanB
c48a4c4b19 Build fix 2016-04-14 20:15:15 +02:00
DanB
0e59798fb5 SMGeneric SessionTTLUsed should be considered in Update 2016-04-14 20:07:22 +02:00
DanB
3d1c0c0007 SMGeneric SessionTTL - apply update even if Usage is 0 2016-04-14 19:51:42 +02:00
DanB
4107ac76d0 SMG - SessionTTLUsage and SessionTTLLastUsed support 2016-04-14 19:17:47 +02:00
DanB
d40a9193e6 SMG SessionTimers considering LastUsed, generating also CDR 2016-04-11 20:31:01 +02:00
DanB
8f1a3b61be Merge master 2016-04-10 11:47:00 +02:00