Commit Graph

80 Commits

Author SHA1 Message Date
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
37acdd1723 sessions: port session APIs and flag handling 2025-08-30 14:02:48 +02:00
ionutboangiu
c4389a9ab6 sessions: rename IPAllocation reply field to AllocatedIP 2025-07-10 16:56:08 +02:00
ionutboangiu
063fcbc138 sessions: return AllocatedIP instead of just message 2025-07-10 16:56:08 +02:00
ionutboangiu
785236592b Port RADIUS DMR/CoA functionality
This commit ports the following changes from v0.11:

- 9991b29 - Implement DisconnectSession API for RADIUS Agent
- 02c8ed1 - Implement support for RADIUS CoA
- 7129d34 - Merge CoA into ReAuthorize logic
- d8ad760 - Update both ReAuthorize API signatures
- 5560608 - Dynamic templates for Radius CoA out of APIOpts
- f9d1c0f - Refactor ReAuthorize to AlterSessions
- 8388832 - Rename agents API object: SessionSv1 to AgentV1
- b580e09 - Add sanity checks for radius templates
- ca6a944 - Update client_da_addresses structure
- 98265a1 - Refactor function names and error msgs related to AlterSessions
- ee98dbe - Update AgentV1DisconnectSession api signature
- c9b6c1f - Add support for sending *dmr template via APIOpts
- 03eff44 - Cache RADIUS packets during accounting instead of auth
- 28e53ce - Add requests_cache_key field to radagent cfg
2025-07-08 08:18:30 +02:00
ionutboangiu
805ae5d916 integrate ips with sessions (incomplete) 2025-06-01 14:04:28 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
069cadd618 move routes to dedicated package 2025-04-22 19:33:12 +02:00
DanB
39952a3388 SessionS Authorize and ProcessCDR methods tested 2024-12-30 19:55:42 +01:00
gezimbll
32ed816de7 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions 2023-11-01 21:38:27 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
porosnicuadrian
c7092cc0df Renamed AteredFields + updated uniqueALteredFields method 2022-03-01 15:51:07 +02:00
porosnicuadrian
75fc37db2c renamed into Filters + uniqueAlteredFields 2022-02-25 14:38:26 +01:00
porosnicuadrian
bf5c694ecd Combined matchedProfile and alteredField for attributes 2022-02-24 17:28:38 +01:00
andronache98
2e4b77e4df Commented CGRID where it is not needed 2022-02-06 09:52:26 +01:00
andronache98
06d075304b Renamed GetSetCGRID to GetSetOptsOriginID 2022-02-06 09:52:26 +01:00
andronache98
ca839daa29 Changed CGRID to *originID and removed it in most places 2022-02-06 09:52:26 +01:00
andronache98
c804a93166 Changed CGRID location from Event to APIOpts 2022-02-06 09:52:26 +01:00
Trial97
a36587a53e Added back most of the dispatchers APIs 2021-12-20 16:17:24 +01:00
Trial97
5d540bc179 Updated Sessions Auth API 2021-10-05 21:01:26 +02:00
Trial97
fe6ef76f80 Updated DNSAgent 2021-10-01 13:32:42 +02:00
DanB
38f8ba8a32 SessionS MaxUsage as Decimal 2021-09-27 13:21:29 +02:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
ionutboangiu
141d293217 Make DefaultOpts a struct and move IgnoreErrors, MaxCost and Paginator fields to APIOpts final 2021-09-10 11:25:57 +02:00
Trial97
3c5f32aeeb Removed Routes Paginator from SessionS APIs 2021-08-26 16:48:48 +02:00
Trial97
f823bb9805 Updated SessionSMessage 2021-08-26 16:48:48 +02:00
Trial97
eecaf84cf5 Updated SessionSTerminate 2021-08-26 16:48:48 +02:00
Trial97
56e9e8ca0f Updated SessionsUpdate 2021-08-26 16:48:48 +02:00
Trial97
235abdae0c Updated SessionsInit 2021-08-26 16:48:48 +02:00
Trial97
8db73de3a6 Updated SessionS processEvent API with new opts format 2021-08-26 16:48:48 +02:00
DanB
6013a23b4b SessionS - missing subsystems is not error anymore 2021-08-19 20:46:17 +02:00
ionutboangiu
7b7d46251a Implement new function that splits filter rules 2021-07-23 10:59:18 +02:00
Trial97
3d8802af99 Added some sessions APIs 2021-06-01 20:48:18 +03:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
Trial97
0ced58b994 Removed unsused 2021-03-30 20:49:53 +02:00
andronache
806c8295be Finished changing Opts to APIOpts for structs used in api_interfaces 2021-03-23 14:35:11 +01:00
porosnicuadrian
f0918ce4e1 Changed sep , into 2021-03-23 14:32:59 +01:00
Trial97
9f75ab918c Updated biRPC support in connmanager 2021-02-22 11:53:56 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
andronache
dbb9216b6e Modified consts in utils 2021-01-07 18:15:35 +01:00
andronache
da91b07eb7 Started replacing snake_case with camelCase in utils/consts.go 2021-01-05 17:42:44 +01:00
Trial97
ff632ec292 Renamed V1DisconnectWarning to V1WarnDisconnect 2020-10-02 12:45:27 +02:00
Trial97
d4fceaa41f Updated BiRPClient interface 2020-09-29 13:45:31 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00