Commit Graph

2553 Commits

Author SHA1 Message Date
ionutboangiu
8ed26c769e Replace ansible include with include/import_tasks
Deprecated and not available in versions 2.16+
2024-07-05 11:20:09 +02:00
ionutboangiu
da4bf0d783 Sync (and update) go version
go.mod had a later version than the one used inside the
role, which caused the deb packaging to fail.

Updated all of them to latest.
2024-07-05 11:20:09 +02:00
gezimbll
777d4f0a28 added caching for sagprofile 2024-06-30 17:45:06 +02:00
gezimbll
0012477d52 added stat aggregator profile,models,tps and apis 2024-06-30 17:45:06 +02:00
ionutboangiu
36598294a2 Revise Kafka SSL test
- Updated to use the test suite
- Deleted kafka_ssl sample configuration (moved to test file)
- Replaced 'logger' section with 'general' in configuration
- Revised Kafka server SSL setup comment
- Ensured exporters are synchronous to avoid missing errors
- Implemented helper function to create and clean up kafka topics
2024-06-30 16:28:52 +02:00
ionutboangiu
4d8a2d7bdd Format kafka ansible role files 2024-06-30 16:28:52 +02:00
arberkatellari
b061770e68 Add asterisk and FS agents session restoration support 2024-06-12 18:21:50 +02:00
arberkatellari
f356695f6f Add active sessions backup functionalitiy 2024-06-12 18:21:50 +02:00
ionutboangiu
89f97d45e1 Bump version in nats ansible role + formatting 2024-06-06 13:30:14 +02:00
ionutboangiu
448eea3918 Format some ansible roles 2024-06-06 13:30:14 +02:00
gezimbll
c41bbcf119 revised janusagent and thresholds it test 2024-05-23 00:15:50 +02:00
gezimbll
64692891bb added V1GetActiveSessionIDs method for JanusAgent && revised tests 2024-05-16 16:24:50 +02:00
ionutboangiu
8be19292aa Implement sipp ansible role 2024-05-16 14:46:30 +02:00
ionutboangiu
75694bd75d Bump go version to 1.22.3 2024-05-16 14:46:30 +02:00
ionutboangiu
37b0a154a4 Update opensips tutorial configurations
For both tutorials and tutorial_tests
2024-05-16 10:29:05 +02:00
ionutboangiu
8bf2ae0d38 Implement ansible opensips playbook for call tests 2024-05-16 10:29:05 +02:00
ionutboangiu
f87e52cf63 Update ansible calls playbooks
Fixes issue where cgrates role would attempt to run setup
scripts for postgres, when postgres is not installed.
2024-05-16 10:29:05 +02:00
DanB
bc3b665187 Updating go toolchain to 1.22.3 inside ansible role 2024-05-08 11:32:28 +02:00
DanB
31935cc995 Updating go checksum in ansible script 2024-05-08 11:15:13 +02:00
DanB
3ac3fc98a5 Bumping go version in ansible 2024-05-08 10:59:05 +02:00
gezimbll
8c88f9d961 added integration tests for janus_agent 2024-05-05 14:26:45 +02:00
ionutboangiu
ca0b9870b7 Add playbook for osips+diam setup
- installs go
- sets up cgrates
- installs nightly version of opensips and modules
- uses the prepaid opensips.cfg from tutorials by default
- installs and sets up freediameter
- installs pjsua and helper scripts
2024-05-05 14:25:14 +02:00
ionutboangiu
fc0666d2ac Needed in order to make accounting through opensips possible.
Not the final version. Incomplete list, as I only added a bit
more than the bare minimum. Also should be reviewed regarding
the V,M,P bits.
2024-05-05 14:25:14 +02:00
ionutboangiu
40eaa8739c Add tut entry for opensips+diameter
INCOMPLETE
- shared cgrates configuration for three different scenarios
- every scenario has its own opensips configuration. For more info
check README or read comments inside the configuration
- added script for converting unix time to suitable Event-Timestamp
format
- added a dictionary.opensips entry for making Credit-Control diameter
requests possible
2024-05-05 14:25:14 +02:00
ionutboangiu
9af344aac7 Revise cgrates ansible role 2024-05-05 14:25:14 +02:00
ionutboangiu
16c61eeb9d Implement opensips ansible role 2024-05-05 14:25:14 +02:00
ionutboangiu
b690f11db7 Implement freediameter ansible role 2024-05-05 14:25:14 +02:00
ionutboangiu
fb19544718 Revise pjsua role
- changed default version to 2.14.1
- ensured that tutorial call scrips still use 2.9
- made role idempotent
- added pjsua_helper_scripts default var that if set to true will deploy
two scripts: pjsua_listen and pjsua_call (defaults to false)
- added option to decide whether we delete the pjsua repo post install
- made binary path configurable (will be used for both pjsua as well as
the helper scripts
- use copy instead of command when copying binary to its final path
- import roles directly instead of through tasks where applicable (call
roles)
2024-05-05 14:25:14 +02:00
gezimbll
82b0e02788 integration tests for janus agent 2024-04-26 17:02:18 +02:00
gezimbll
77662e9f88 updated & added postman apis 2024-04-24 17:09:54 +02:00
ionutboangiu
5e0b90ffa7 Revise docker ansible script
- use include/import_tasks instead of the deprecated include.

Used include_tasks for nginx tasks because they might cause problems
due to depending on the nginxConfig variable inside the conditional
statements.
Used import_tasks for docker tasks since they seem like they can be
safely pre-processed.

- remove task installing docker module for python
2024-04-21 17:56:31 +02:00
gezimbll
8b69a2a01e updated postman api collection 2024-04-16 21:10:37 +02:00
ionutboangiu
5391a3f055 Retrieve os distribution from builtin facts in mongo role 2024-04-16 21:10:13 +02:00
gezimbll
883633732b updated postman api collection 2024-04-09 10:28:07 +02:00
ionutboangiu
a5d29d5d7b Stop sending BalanceUpdate events to thresholds/stats 2024-04-08 17:34:13 +02:00
gezimbll
77b58257d3 updated postman api collection 2024-04-08 13:12:54 +02:00
ionutboangiu
28e53cecc9 Add requests_cache_key field to radagent cfg 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
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
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
a9079154da Add possibility to pass conn cfg to actions 2024-02-27 16:28:48 +01:00
ionutboangiu
1f7e0b33a2 Update *alter_sessions action
Will now support two extra parameters: address and codec. For *internal
connections, the birpc.Service object will be retrieved from rpcParamsMap
from utils. Supported codecs: <*gob|*json|*http_jsonrpc> (ingored for
*internal address).

Action does not bother with setting defaults anymore, lets the API
handle them.

Improve action comments.

Add unit tests for the action. UnregisterRpcParams' implementation was
required.

Updated *alter_sessions action tariffplan for radius coa integration test
to include address and codec.

Some birpc clients that are set up in integration tests were still registering
a SessionSv1 object. Updated them to register an AgentV1 object instead.
2024-02-27 16:28:48 +01:00
DanB
675d9e25ce Updating Radius CoA integration test to make use of the *alter_sessions action 2024-02-21 20:33:06 +01:00
ionutboangiu
f9d1c0f0e1 Refactor ReAuthorize to AlterSessions 2024-02-21 18:43:53 +01:00
DanB
ec9b95088f Updating radius_coa integration test to use thresholds for generating SessionSv1.ReAuthorize 2024-02-20 20:40:10 +01:00
Bas Couwenberg
ecdda5d2d2 Update deb_packages playbook to support multiple distributions. 2024-02-20 16:52:59 +01:00
Bas Couwenberg
325b37f54c Fix bash-term-in-posix-shell Lintian issue. 2024-02-20 16:52:59 +01:00
Bas Couwenberg
72e11d9c78 Fix script-not-executable Lintian issue. 2024-02-20 16:52:59 +01:00
Bas Couwenberg
1ccc9f4381 Fix executable-not-elf-or-script Lintian issues. 2024-02-20 16:52:59 +01:00