Commit Graph

13068 Commits

Author SHA1 Message Date
gezimbll
05e6e2660c updated CommitDate to fallback into default time 2024-03-25 15:09:00 +01:00
ionutboangiu
109739d64d Update fsock library to latest version 2024-03-22 20:07:51 +01:00
ionutboangiu
ca66480c52 Add reply_timeout field for FS event socket conns 2024-03-22 15:12:04 +01:00
ionutboangiu
1e44d213ee Add integration build tags to stir shaken it test 2024-03-22 15:12:04 +01:00
ionutboangiu
e987139e9c Revert to supporting *asm for ThresholdS acc publish 2024-03-22 15:12:04 +01:00
ionutboangiu
619a1efa50 Revise ers integration tests
They also do not depend on nats server dependency anymore.
2024-03-22 15:12:04 +01:00
DanB
a7653d942a Updating FSock module to improve thread safety 2024-03-17 14:30:13 +01:00
ionutboangiu
b3d0b8ffbe Revise tests failing due to configuration changes 2024-03-14 17:12:43 +01:00
gezimbll
cff5d22913 fixing unit tests on ersCfg 2024-03-13 18:26:01 +01:00
gezimbll
66940db0b0 changed concurrentEvents naming in ers 2024-03-13 18:26:01 +01:00
gezimbll
21d65b3810 added concurrent event processing for ers 2024-03-13 18:26:01 +01:00
ionutboangiu
51c3e15f1e Fix docs typo 2024-03-13 18:25:06 +01:00
ionutboangiu
843eee3b8d Pass clone of original acc for *cdrlog actions 2024-03-13 18:25:06 +01:00
ionutboangiu
b457768a33 Update actions to share Time ref variable 2024-03-13 18:25:06 +01:00
DanB
25e2b1d418 Doc correction 2024-03-13 11:37:08 +01:00
DanB
c18fd40c62 Updating Debian installation instructions with tabs for Bookworkm/Boolseye 2024-03-13 11:09:16 +01:00
ionutboangiu
5ac08799e1 Update *remove actions to support multiple balance types at once 2024-03-12 18:11:34 +01:00
DanB
fe39eec4d9 Updating debian installation documentation 2024-03-12 15:30:31 +01:00
ionutboangiu
bf939a47ac Rename chan_delimiter cfg field to active_session_delimiter 2024-03-11 16:59:31 +01:00
arberkatellari
7c04cf8c61 Add coverage tests for radius agent 2024-03-11 16:41:46 +01:00
ionutboangiu
58c1d639f3 Update handling of ees event after processing attributes 2024-03-11 16:41:09 +01:00
ionutboangiu
afe03ac5fd Revise xmldp sanity check test to account for previous update 2024-03-11 16:41:09 +01:00
ionutboangiu
51a3c933d7 Add chan_delimiter option within freeswitch_agent section
Used for 'show_channels' requests and responses.
2024-03-11 16:39:45 +01:00
arberkatellari
f7cbec3b41 Update kamevapi to new version 2024-03-08 16:39:44 +01:00
ionutboangiu
28e53cecc9 Add requests_cache_key field to radagent cfg 2024-03-07 17:20:23 +01:00
ionutboangiu
87db26b4ec Implement *force_disconnect_sessions action 2024-03-07 17:20:23 +01:00
ionutboangiu
03eff44767 Cache RADIUS packets during accounting instead of auth 2024-03-07 17:20:23 +01:00
ionutboangiu
c9b6c1fbb7 Add support for sending *dmr template via APIOpts 2024-03-07 17:20:23 +01:00
ionutboangiu
ee98dbe0ca Update AgentV1DisconnectSession api signature
Will accept utils.CGREvent instead of utils.AttrDisconnectSession as a
parameter.

SessionSv1.ForceDisconnect will take utils.SessionFilterWithEvent as a
parameter instead of *utils.SessionFilter.

Added possibility to pass DisconnectCause as an Event parameter.

The forceSTerminate that's called when the session timer expires will
have DisconnectCause 'SESSION_TIMEOUT' instead of 'FORCED_DISCONNECT'.

Added Dispatcher methods for AlterSessions.

Event will be merged with EventStart of the session before being sent to
AgentV1DisconnectSession.
2024-03-07 17:20:23 +01:00
ionutboangiu
41b9b719d5 Ensure AccountSummary is of *AccountSummary type when parsing ddp 2024-03-07 17:20:23 +01:00
ionutboangiu
cdcf55f971 Slightly optimize TenantID constructor 2024-03-07 17:20:23 +01:00
ionutboangiu
eaeb04404e Add sessions_conns to rals section
Update ActionConnCfg constructor to take into account this new field.
2024-03-07 17:20:23 +01:00
ionutboangiu
98265a122a Refactor function names and error msgs related to AlterSessions 2024-03-06 16:15:36 +01:00
ionutboangiu
ca6a9440f7 Update client_da_addresses structure
Supports configuring transport (tcp/udp), host, port and
flags (only *log for now).
2024-03-06 16:15:36 +01:00
ionutboangiu
8dc3a9e28f Remove getConnWithConfig unused parameter 2024-03-04 19:17:31 +01:00
ionutboangiu
b580e09a00 Add sanity checks for radius templates 2024-03-04 19:17:31 +01:00
arberkatellari
9be32c36da Add CAPs counting to cgr-console status command 2024-03-04 09:50:10 +01:00
ionutboangiu
49d6b8d565 Ensure CostDetails is of *EventCost type when parsing dynamicDP
CGREventWithEeIDs has also been optimized and properly tested. Comments
have been added explaining the process.

When sending a request to AttributeS from EEs, CostDetails from the reply
will now be overwritten by the original CostDetails to preserve its type.
The downside is that we are assuming that CostDetails was not altered by
AttributeS. We might consider adding a type check against *engine.EventCost
to at least stay backwards compatible with *gob and *internal connections.

general_tests/ees_it_test.go has been updated to ensure changes are working
properly.
2024-03-04 09:49:15 +01:00
ionutboangiu
221f6e2c91 Update *transfer_balance action
Now it creates the destination balance if it doesn't exist.
2024-03-04 09:49:15 +01:00
ionutboangiu
f1ad73b902 Add support for filtering to *remove_expired action 2024-03-04 09:49:15 +01:00
ionutboangiu
8f9ec9cfa6 Add constant for APIerSv1.RemoveCDRs api 2024-03-04 09:49:15 +01:00
ionutboangiu
3269393141 Retrieve BalanceFactorID from Event
It will be added to CallDescriptor in ExtraFields.

Ensure CDR ExtraFields are passed to CallDescriptor before
sending it to RALs.

Ensure Clone function of CallDescriptor also clones the
ExtraFields map.
2024-03-04 09:49:15 +01:00
ionutboangiu
0aea8ac641 Revert "Move CGREvent from utils to engine"
This reverts commit 02195c47ed.
2024-03-04 09:49:15 +01:00
gezimbll
0c99cf1df5 fixes in integration test 2024-02-28 12:46:17 +01:00
ionutboangiu
02195c47ed Move CGREvent from utils to engine 2024-02-27 17:16:57 +01:00
ionutboangiu
158dce7323 Restore changelog and update symlink to it 2024-02-27 16:29:49 +01:00
ionutboangiu
d0f64a7b54 Adjust prefixes to skip when sanity checking xmlRootPath
Before everything starting with '~' was considered, but the check
should be done only with paths starting with '~*req'.
2024-02-27 16:29:49 +01:00
ionutboangiu
7510c07612 Add tests for *destinations filters and attributes arith operations 2024-02-27 16:29:49 +01:00
ionutboangiu
a9079154da Add possibility to pass conn cfg to actions 2024-02-27 16:28:48 +01:00
ionutboangiu
6f86c06fd2 Add sessions_conns field to ThresholdSCfg 2024-02-27 16:28:48 +01:00