Commit Graph

78 Commits

Author SHA1 Message Date
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
DanB
8b94e0c8e3 SMG - SessionRelocate through the use of InitialOriginID 2016-03-25 16:44:05 +01:00
Radu Ioan Fericean
4ff66e0883 populate cdr Usage 2016-03-24 17:39:47 +02:00
Radu Ioan Fericean
bf745d1ea5 add cgdr usage in lastusage scenario 2016-03-24 13:17:38 +02:00
DanB
31456e2a9c Fix merge conflicts, improving creation of new rpc pool 2016-03-24 09:18:38 +01:00
DanB
3097315aa9 SMGenericV1.ActiveSessions implementation 2016-03-17 20:45:14 +01:00
DanB
f8269bcccf SMGeneric error handling fixes 2016-03-17 19:11:48 +01:00
DanB
0f38ebabdd Adding LastUsed to SMG.sessionEnd 2016-03-17 17:45:24 +01:00
Radu Ioan Fericean
a8629fda07 sitch aliases - users order 2016-03-16 12:31:45 +01:00
DanB
fd66acbfea Merge branch 'master' of https://github.com/cgrates/cgrates 2016-03-16 12:08:57 +01:00
DanB
f19e25afae SMG.ChargeEvent fix for duration returned 2016-03-16 12:08:54 +01:00
Radu Ioan Fericean
758f7b4a4a apply aliases/users before derived charging 2016-03-16 11:42:54 +01:00
DanB
a1f9bda028 SMG - Adding LastUsed variable processing, fixes #391 2016-03-06 20:49:13 +01:00