Commit Graph

13824 Commits

Author SHA1 Message Date
ionutboangiu
0bf255c8fb add ConfigHook for external config modification
Add ConfigHook variable allowing external packages to modify config
after logger init but before services start.
2026-01-30 13:34:38 +01:00
ionutboangiu
cafa0a195e move cgr-engine logic to services package
Move main() implementation from cmd/cgr-engine to services/engine.go
to enable importing by external projects.
2026-01-30 13:34:38 +01:00
gezimbll
799b85ca70 updated tpreader to remove trend and ranking profiles with -remove flag 2026-01-27 20:27:22 +01:00
arberkatellari
9d1e2f9050 Add test for reading and exporting CDRs with custom field 2026-01-27 20:26:36 +01:00
gezimbll
3153bc8378 remove loaders subsystem 2026-01-27 20:25:58 +01:00
ionutboangiu
16370dbe53 add dispatcher concurrent sessions test 2026-01-27 20:16:07 +01:00
gezimbll
895ee1d492 fix: setbalance action ignoring balance type when matching by ID 2026-01-27 20:15:40 +01:00
gezimbll
dae7351121 added docs for RSR and DataConverters 2026-01-22 14:52:55 +01:00
gezimbll
4bd459b486 modified astagent call methods over http 2026-01-22 10:05:44 +01:00
armirveliaj
20a8c98999 add postman collection 2026-01-14 17:07:26 +01:00
arberkatellari
1836b041ad Add search function to Get(Profile)IDs APIs 2026-01-14 11:07:12 +01:00
ionutboangiu
982a99db42 Sort IPProfile pools in integration test
would randomly fail due to how csv loads ippools (by storing into a map
first)
2026-01-14 10:32:22 +01:00
gezimbll
2ef967c5c6 create exporter with named type for *http_post action to prevent panic in ReplayFailedPosts 2026-01-13 18:51:47 +01:00
gezimbll
3603d12c3e prevent account actions to be executed when account is nil 2026-01-13 18:51:47 +01:00
ionutboangiu
fe4d8b5924 radagent: check CHAP-Challenge AVP for CHAP auth
CHAP authentication was always using the Request Authenticator as
challenge, ignoring CHAP-Challenge AVP when present. Per RFC 2865, the
CHAP-Challenge attribute takes precedence if included in the packet.

Ref: #4963
2026-01-09 12:10:35 +01:00
ionutboangiu
d73e9c0803 radagent: use MS-CHAP2-Response for MSCHAPv2
MSCHAPv2 authentication was looking for the wrong RADIUS attribute. Per
RFC 2548, MSCHAPv2 uses MS-CHAP2-Response (vendor-type 25), not
MS-CHAP-Response (vendor-type 1, which is for v1).

Ref: #4962
2026-01-09 12:09:53 +01:00
arberkatellari
63d36568dc update go-diameter library 2026-01-07 17:04:27 +01:00
ionutboangiu
d41044af3c ips: add basic functionality integration test 2026-01-06 13:37:45 +01:00
ionutboangiu
55426255b2 ips: add radius IPAM integration test 2026-01-06 13:37:45 +01:00
gezimbll
6695db8df7 updated GetActions api to return negative destinations 2026-01-06 13:37:17 +01:00
gezimbll
40ff69ba40 fixed display of help command for maxusage 2025-12-21 18:32:54 +01:00
gezimbll
e859be8806 added multiple listeners for diameter agent 2025-12-21 18:26:59 +01:00
ionutboangiu
897d6f0da1 integrate IPs with SessionS 2025-12-16 13:23:17 +01:00
armirveliaj
17f11d060b add test for AsTPAttributes FilterIds 2025-12-16 13:22:06 +01:00
ionutboangiu
0fbbc83e97 skip reprepro when commit already registered 2025-12-15 16:40:49 +01:00
ionutboangiu
a394c728c0 handle pkg server failure in deb_packages ansible 2025-12-11 12:09:47 +01:00
arberkatellari
a8895a6a5a Add options to support non-Amazon S3 and SQS 2025-12-05 13:16:47 +01:00
ionutboangiu
eb372148d1 revise IPService implementation 2025-12-05 13:15:52 +01:00
ionutboangiu
5aee85a12d cfg: simplify conn parsing for sessions 2025-12-05 13:15:52 +01:00
ionutboangiu
f0b65f0797 cfg: make sessions jsoncfg object fields camelcase 2025-12-05 13:15:52 +01:00
ionutboangiu
292b97aa5b cfg: add ips_conns to sessions section 2025-12-05 13:15:52 +01:00
ionutboangiu
84a4043e9a reorder api method consts for resources/ips 2025-12-05 13:15:52 +01:00
ionutboangiu
3889e9d91e cfg: update ips opts
removed units and renamed usageID -> allocationID
2025-12-05 13:15:52 +01:00
ionutboangiu
eab21e5d8d Cache sorted resource IDs as slice 2025-12-04 16:27:46 +01:00
ionutboangiu
5f66cd2220 Sort item IDs before locking to prevent deadlock
applies to stats,thresholds and resources
2025-12-04 16:27:46 +01:00
ionutboangiu
2a190c08c7 update expired dates in tests 2025-11-21 21:32:19 +01:00
ionutboangiu
7505848124 ansible: remove cgrates_deb_install (moved to private repo) 2025-11-21 21:32:19 +01:00
Bas Couwenberg
ddd23874d1 Use DH_VERBOSE only in dh_auto_build override for go version & env output. 2025-11-17 10:57:52 +01:00
gezimbll
b6a3da9cb1 updated asterisk module.conf to load modules for newer versions 2025-11-07 11:43:35 +01:00
ionutboangiu
9fed096a9f ansible: add cgrates_deb_install playbook 2025-11-05 18:06:13 +01:00
ionutboangiu
d1536a01d3 ansible: add github_ssh role for SSH key management 2025-11-05 18:06:13 +01:00
ionutboangiu
86f35a72fa ansible: remove redundant cgrates_package_version var
use cgrates_branch instead
2025-11-05 18:06:13 +01:00
ionutboangiu
81e98a5dd2 ansible: get rid of golang vars from cgrates role 2025-11-05 18:06:13 +01:00
ionutboangiu
a46d320040 ansible: update cgrates role to also allow pkg install 2025-11-05 18:06:13 +01:00
ionutboangiu
df40c1777a update rabbitmq role repos 2025-11-04 18:14:58 +01:00
ionutboangiu
c185e46455 ees: preserve exporter attempts in failed posts 2025-10-29 19:44:04 +01:00
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
89c0f9e025 fix DPR to contain sender identity not recipient 2025-10-28 20:31:58 +01:00
ionutboangiu
4c30ec4e4c ees: remove init from libcdre, rename to failedposts 2025-10-28 20:31:36 +01:00
ionutboangiu
295ddec792 cfg: move failed_posts to ees, add static_ttl 2025-10-28 20:31:36 +01:00