Commit Graph

13840 Commits

Author SHA1 Message Date
ionutboangiu
7983a319db fix birpc nil panic on service restart
StopBiRPC made birpcSrv nil, so next Start panicked on register.
Unregister the name instead so clients stay connected.
2026-02-18 12:44:58 +01:00
ionutboangiu
7babf7b725 fix birpc deadlock on startup
startBiRPC blocked waiting for services that hadn't started yet.
Now uses closures that check through the wrapper lock instead.
2026-02-18 12:44:58 +01:00
gezimbll
f92023b49b attributes: dynamicdp updates tenant in each processrun 2026-02-18 12:43:44 +01:00
ionutboangiu
5fe503605f accept config hooks as RunCGREngine parameters
moving away from global variables
2026-02-17 18:59:19 +01:00
ionutboangiu
48a9441a39 add MCC/MNC name lookup to *3gpp_uli converter 2026-02-17 17:49:36 +01:00
ionutboangiu
69b940039b fix *3gpp_uli to accept raw bytes instead of hex 2026-02-17 17:30:14 +01:00
ionutboangiu
6a5351b915 fix docs build by upgrading sphinx-tabs to 3.4.7 2026-02-13 17:27:29 +01:00
arberkatellari
aed556ab3a Add Responder.DebitMonetary and *directdebit 2026-02-13 17:25:50 +01:00
arberkatellari
3b2657079b Revise xml field conditions for fs dialplans 2026-02-13 17:25:50 +01:00
arberkatellari
8f6995d185 Modify tests and samples for BiRPC SessionS<->ThresholdS 2026-02-13 17:19:50 +01:00
arberkatellari
78e537bc36 Make conns from SessionS<->ThresholdS bidirectional 2026-02-13 17:19:50 +01:00
ionutboangiu
5b2a8b8784 unify *log and *dryrun logging across all agents
CGREvent will be included in the logs and dryrun will now take
precedence over log.
2026-02-12 10:53:45 +01:00
gezimbll
14d1429446 added it test to query account balance through diameter DCC 2026-02-11 20:21:43 +01:00
gezimbll
f5c2e23944 removed loaders flaky tests 2026-02-11 16:00:39 +01:00
ionutboangiu
4c64f4f876 add *3gpp_uli user location converter
Parses the 3GPP-User-Location-Info AVP into structured location data
allowing field access via an optional path (e.g. *3gpp_uli:TAI.MCC).
2026-02-11 15:43:27 +01:00
armirveliaj
be08b1d07b revise freeswitch_agent low_balance_ann_file command 2026-01-30 17:49:58 +01:00
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