Commit Graph

90 Commits

Author SHA1 Message Date
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
Radu Ioan Fericean
155168406c added session ttl to smgeneric 2016-04-08 00:33:21 +03:00
DanB
922b5509c6 Removing some Debug messages 2016-04-04 15:14:26 +02:00
DanB
cb80a24bac Adding debug messages to SMG 2016-04-01 16:27:50 +02:00
Radu Ioan Fericean
ec3375d73a test for wrong gob 2016-03-31 21:34:51 +03:00
Radu Ioan Fericean
e6eb2439f1 tests end session after no credit 2016-03-31 20:28:07 +03:00
DanB
ccb5c1c503 Merge fix 2016-03-31 13:57:06 +02:00
DanB
c086b4e853 SMG handling of subsessions, fix for usage, added *data balance to tutorial files 2016-03-31 13:54:26 +02:00
Radu Ioan Fericean
8f6d56eb13 second try at closing session after init error 2016-03-30 18:18:03 +03:00
Radu Ioan Fericean
39d40732ed call sessionEnd explicitly on init error 2016-03-30 14:24:22 +03:00
Radu Ioan Fericean
10054d353a attempt to fix concurrent map panic 2016-03-29 22:38:38 +03: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
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
DanB
9266743874 Merge branch 'master' into hapool 2016-03-25 19:32:57 +01:00
DanB
d357663aac SMG - OriginIDPrefix support to terminate sessions starting with same prefix 2016-03-25 19:13:06 +01:00
DanB
4ac4ddf9ba Build fix 2016-03-25 17:26:45 +01:00
DanB
fb16ce9882 SMG - SessionRelocate also for terminate message 2016-03-25 17:25:44 +01:00
DanB
b8dab6b502 Fix merge issues 2016-03-25 17:11:38 +01:00