Commit Graph

295 Commits

Author SHA1 Message Date
Trial97
4efd0ed1ed Updated sessions setSTerminator 2019-10-21 15:02:21 +02:00
DanB
2bb4f07c27 SessionS - better handling of replyMaxUsage in case of authorization 2019-10-21 13:36:22 +02:00
TeoV
be9ba5df3b Add delay for sessions integration tests and consider paginator for get cdr for internal db 2019-10-16 11:46:39 +02:00
DanB
4030357fe0 SessionS - Simplified TTL handling 2019-10-10 11:02:08 +02:00
TeoV
3fb24b16a4 Update cost in test for sessions_it_test.go 2019-10-10 11:02:08 +02:00
TeoV
2184121c02 Update tests for sessions after simplified locking 2019-10-10 11:02:08 +02:00
DanB
5dbaee2d33 Simplified locking for SessionS in order to prevent deadlock bugs 2019-10-10 11:02:08 +02:00
TeoV
c93282a165 Update MaxUsage with value from config in case Usage isn't presented in event 2019-09-18 08:23:56 +02:00
TeoV
110d73c532 Add DataProvider for each FieldValue for FilterRule 2019-09-08 17:39:11 +02:00
TeoV
e511a2e110 Starting services message uniformity 2019-08-27 11:57:46 +02:00
Trial97
c39059a42d Correctly use error if defined as function return argument 2019-08-15 15:49:23 +02:00
Trial97
a08b190a4e Replaced IsSliceMember with SliceHasMember for constant slices 2019-08-08 19:12:47 +02:00
Trial97
5cbce1ec43 Removed unused constants 2019-08-08 19:12:47 +02:00
TeoV
a3099c5622 Threat error in a fancier way in SessionS 2019-07-23 22:57:20 -10:00
TeoV
206b8a76da In case that we get other Errors that NOT_FOUND we return PartiallyExecuted ( SessionS ) 2019-07-23 00:46:14 -10:00
TeoV
38dcc9aca2 Correctly treat NOT_FOUND error is SessionS ( fixes #1635 ) 2019-07-23 00:46:14 -10:00
TeoV
59c0258750 Correctly send SessionSv1.ProcessEvent from Agents to SessionS 2019-07-23 00:46:14 -10:00
TeoV
b9c4be142f Send the entire session to go func not only the cgrID 2019-07-21 23:13:27 -10:00
TeoV
3d13add291 Send s.CGRID as parameter to go func and topup accounts from tutorial TP 2019-07-21 23:13:27 -10:00
Trial97
de41b7a093 Updated debitLoopSession 2019-07-17 04:59:52 -10:00
TeoV
91b6629097 Add tests in apier/v1 for ProcessEvent(Auth/Init/Update/Terminate) and add in agents support for *event 2019-07-16 23:24:41 -10:00
TeoV
556850d82e Compress duplicate code of processAttributes ( for SessionS ) 2019-07-16 23:24:41 -10:00
Trial97
6d8c83ef2f Updated TesminateSession 2019-07-16 22:42:42 -10:00
TeoV
96af791867 Compress duplicate code for getSuppliers ( for SessionS) 2019-07-15 20:57:17 -10:00
TeoV
92a9e12fa7 Compress duplicate code into functions ( for SessionS ) 2019-07-15 20:57:17 -10:00
TeoV
d0bc5fba9b Rename SessionSv2.ProcessEvent to SessionSv1.ProcessEvent 2019-07-15 20:57:17 -10:00
TeoV
561175e0b3 Rename SessionSv1.ProcessEvent to SessionSv1.ProcessMessage 2019-07-15 20:57:17 -10:00
TeoV
4e2164b741 Update template for DNSAgent and add new method V2ProcessEvent in SessionS 2019-07-15 20:57:17 -10:00
Trial97
f22014ee21 Updated debitLoop 2019-07-15 06:00:16 -10:00
Trial97
05cdc494e7 Updated parseFlags for agents 2019-07-15 03:19:20 -10:00
TeoV
d99d229295 Return the usage in case of Auth Session for postpaid sessions 2019-07-12 05:14:39 -10:00
TeoV
65b0e0f608 Move populating source after RPC caching 2019-07-10 22:01:33 -10:00
TeoV
0ed30ff0ea Add source *sessions in case that isn't present when SessionS send the CDR to CDRServer to be processed 2019-07-10 05:46:11 -10:00
TeoV
3e6d01a638 HTTPAgent correctly append the same FieldPath with different processor and correcly access in SessionS AttributeIDs 2019-07-09 02:47:51 -10:00
TeoV
877aa172e7 Group arguments for V1ProcessEvent 2019-07-04 12:23:15 -10:00
TeoV
e6ed8c16b9 Group arguments for V1TerminateSession 2019-07-04 12:23:15 -10:00
TeoV
ca0c7b792b Group arguments for V1InitSession 2019-07-04 12:23:15 -10:00
TeoV
e39f0f635c Rename in utils FlashWithParams and change order for V1AuthorizeArgs 2019-07-04 12:23:15 -10:00
TeoV
1e69216613 Update agents with new type for Flags(MapSubsystemIDs) 2019-07-02 10:05:21 -10:00
Trial97
8d6b518869 Updated safevent tests 2019-06-29 05:08:34 +02:00
TeoV
2d8bf200d0 Correct usage when SessionSv1.ProcessEvent for *postpaid and *rated 2019-06-23 13:11:14 +02:00
Tripon Alexandru-Ionut
85afa27a5e Renamed sessions.ActiveSession to sessions.ExternalSession 2019-06-21 15:35:01 +02:00
Tripon Alexandru-Ionut
5e365752b0 Updated call tests 2019-06-12 22:11:43 +02:00
Tripon Alexandru-Ionut
f89b55dad8 Added tests for Session.AsActiveSessions 2019-06-12 22:11:43 +02:00
DanB
829e1785dd SessionS - better locking for unregisterSession 2019-06-07 11:46:34 +02:00
TeoV
cbc9c73d3e Add CoreService ( Allow status command to be executed without activating RALs ) fixes #1565 2019-06-04 14:43:41 +02:00
TeoV
f8b0ff7f54 Add ProcessEvent route to kamailio 2019-06-04 14:43:41 +02:00
TeoV
c170910a33 Update correctly the EventCost in case of refund 2019-06-03 10:33:21 +02:00
Tripon Alexandru-Ionut
8366cbc9d4 Removed unused CfgCdrField 2019-06-03 10:02:10 +02:00
Tripon Alexandru-Ionut
93ff0908b9 Updated sessions tests 2019-05-29 16:27:41 +02:00