Commit Graph

282 Commits

Author SHA1 Message Date
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
TeoV
6811d53830 Replacing CGREvent with *CGRevent when inherited for SessionSv1.ProcessEventArgs 2019-05-29 16:08:59 +02:00
TeoV
61d87789f8 Replacing CGREvent with *CGRevent when inherited for SessionSv1.TerminateArgs 2019-05-29 16:08:59 +02:00
TeoV
083892e093 Replacing CGREvent with *CGRevent when inherited for SessionSv1.UpdateArgs 2019-05-29 16:08:59 +02:00
TeoV
e4d2db92f3 Replacing CGREvent with *CGRevent when inherited for SessionSv1.InitArgs 2019-05-29 16:08:59 +02:00
TeoV
e6e6065817 Replacing CGREvent with *CGRevent when inherited for SessionSv1.AuthorizeArgs 2019-05-29 16:08:59 +02:00
TeoV
bdc57998f0 Replacing CGREvent with *CGRevent when inherited for SupplierService 2019-05-28 15:23:19 +02:00
TeoV
eaeddd581b Replacing CGREvent with *CGRevent when inherited for ResourceService 2019-05-28 15:23:19 +02:00
TeoV
0987fb79db Replacing CGREvent with *CGRevent when inherited for StatService 2019-05-27 20:39:55 +02:00
TeoV
14ebcb3812 Replacing CGREvent with *CGRevent when inherited for ThresholdService 2019-05-27 20:39:55 +02:00
TeoV
6ebdb4bbdf In case of AttributeS Replacing CGREvent with *CGRevent when inherited 2019-05-27 20:39:55 +02:00
Tripon Alexandru-Ionut
433be28aff Added CGREvent.ConsumeArguments 2019-05-27 06:52:50 +02:00
TeoV
dac7dab1ee Add posibility to modify answer time in TerminateSession fixes #1564 2019-05-23 16:04:33 +02:00
TeoV
11efcce841 Make the s.sTerminator.endChan nil after we close it 2019-05-23 16:04:33 +02:00