ionutboangiu
4bc85329c5
Add ansible role for kamailio
2023-05-07 19:25:19 +02:00
ionutboangiu
41cb903515
Use ansible roles for reusable tasks
2023-05-07 19:25:19 +02:00
DanB
0560fa63f8
Updating tutorial2 sample .csvs and few of the docs for installing with OpenSIPS
2023-04-20 20:07:24 +02:00
ionutboangiu
4cd2dc3de8
Revise CDR rerating
...
The (*CDRServer).processEvent function is now called processEvents and can
be passed an array of CGREvents instead of only one. This was done because
when calling the RateCDRs API we want to first refund all CDRs before
starting to debit again.
The rerate parameter is now no longer hardcoded to true for the RateCDRs API.If
required, the "*rerate" flag must be provided by the caller.
Now, the refundEventCost function returns an additional boolean, that signals
whether the refund occured or didn't.
If the reRate parameter is set to true, also set refund to true.
In case CostDetails is not populated, retrieve it from StorDB if possible
and add it to the CGREvent before converting to CDRs. Set CostDetails back
to nil once the refund goes through.
Remove the refund logic from within the store block.
Now that the refund happens before the debit, revise the expected values for
the "testV1CDRsProcessEventWithRefund" subtest within the
apier/v1/cdrs_it_test.go file.
Add an integration test for the following scenario:
-create one account with one balance of 1 free minute and rating for the rest.
-send one CDR of two minutes with ProcessEvent. This should consume 60s out of
the free balance and charge 60s. The SetupTime in the CDR should be 1 hour after
the second CDR.
-send the second CDR with an usage of 2m. This should be charged entirely.
-send a RateCDR API call with OrderBy: "SetupTime". This should rerate the two
CDRs from above and change their order of rating.
2023-04-20 20:05:00 +02:00
ionutboangiu
15b404e8cf
Revise randomly failing tests
2023-03-28 17:59:32 +02:00
gezimbll
8a18eb87ec
Changed path for git repo
2023-03-21 16:22:50 +01:00
gezimbll
3b64bb4fef
Updated paths for copr ansible scripts
2023-03-21 16:22:50 +01:00
gezimbll
7dcbd09a1f
replacing non-meta constants for storage types
2023-03-08 19:14:24 +01:00
gezimbll
bc486a0373
updated folder name for copr ansible script
2023-03-01 17:09:47 +01:00
gezimbll
877f726a35
ansible scripts for copr server
2023-03-01 17:09:47 +01:00
ionutboangiu
b52d049219
Revise freeswitch ansible script
2023-02-27 09:10:31 +01:00
ionutboangiu
6a7fde0c99
Add integration tests for amqpv1 exporter
2023-02-20 19:45:08 +01:00
ionutboangiu
c9ec5e53c8
Leave exportPath unprocessed for kafka + tests
2023-02-20 19:45:08 +01:00
ionutboangiu
40943dda09
Add test for *amqp_json_cdr exporter
2023-02-20 19:45:08 +01:00
ionutboangiu
6f91f027c8
Leave exportPath unprocessed for s3&sqs + tests
2023-02-17 12:19:22 +01:00
ionutboangiu
c2a824a94b
Leave export_path as is when exporting (AMQP) + tests
2023-02-16 11:25:20 +01:00
ionutboangiu
5e8619a83e
Update rpm ansible script
2022-12-02 14:24:18 +02:00
adi
6285d92f29
Indexes various combination in tests
2022-11-22 13:59:02 +02:00
adi
a6445f641e
Displays messages for agents when connect + fixes on call tests
2022-11-11 17:04:59 +01:00
Trial97
65a9b4df9d
Updated rsyslog files
2021-12-23 10:08:54 +01:00
andronache98
43df5231bf
Changed go version in ansible scripts
2021-12-15 19:58:53 +01:00
andronache
2693f5b767
Fixed ansible script for calls freeswitch
2021-11-01 13:50:23 +02:00
andronache
7705678be9
Repaired wrongly compressed freeswitch configs
2021-10-11 20:04:22 +03:00
andronache
a4625e64fe
Fixed integration test regadring cdrs ttl internal
2021-10-05 21:05:49 +02:00
andronache
8182d964e7
Fixed tutmongo config for integration tests
2021-10-04 11:33:05 +02:00
porosnicuadrian
d361eace21
Fixed tutorial freeswitch default accounts flags
2021-10-04 11:32:38 +02:00
porosnicuadrian
d4c35e9905
Fixed calls test
2021-09-28 20:45:26 +02:00
Trial97
fb655ee028
Updated ansible
2021-09-10 11:23:41 +02:00
Trial97
edef262ea1
Updated ansible scripts for nginx
2021-09-01 17:29:41 +03:00
Trial97
ee8cd49146
Updated ansible for debian
2021-08-19 17:47:23 +02:00
Trial97
02edf10df7
Updated ansible for docker
2021-07-31 15:32:48 +02:00
Trial97
6f1168e1c9
Updated docker ansible script
2021-07-25 12:09:38 +02:00
Trial97
0acb8c4004
Updated ansible scripts
2021-07-23 11:01:39 +02:00
Trial97
4ea2d18463
Updated resources unit tests
2021-07-23 11:01:39 +02:00
nickolasdaniel
6a8fc6f309
Removed creation of history folder in make and spec files since we are not using the folder
2021-07-13 13:13:39 +02:00
ionutboangiu
2a00b1cd5e
Fix typo (parralel->parallel) v0.10
2021-06-30 20:26:02 +02:00
Trial97
b624bada7c
Updated RPM ansible
2021-06-30 13:27:31 +02:00
andronache
c8b0016758
Finished making all Ansible scripts for calls work
2021-06-25 18:11:36 +02:00
andronache
6759cb54bb
Modified anisble script for pjsua
2021-06-25 18:11:36 +02:00
andronache
dcee7d31c4
Modified Ansible script for asterisk
2021-06-23 20:54:54 +02:00
Trial97
a92bcc0ce1
Added README.md for ansible integration scripts
2021-06-08 12:05:51 +02:00
Trial97
6fd1dc5ee8
Moved ers database creation in a separate script
2021-06-08 12:05:51 +02:00
Trial97
baacbf4775
Updated storage scripts to include the ees and ers DB
2021-06-08 12:05:51 +02:00
Trial97
116e778228
Updated ansible for integration tests
2021-05-19 19:30:18 +02:00
Trial97
a21280e8bc
Removed unnecessary syslog reload from rpm spec file
2021-04-19 19:50:12 +02:00
Trial97
bf73726c35
Updated rpm ansible script
2021-04-16 21:03:19 +02:00
Trial97
07ef7f2609
Replaced max_call_duration config with default_usage for each ToR
2021-02-19 14:22:48 +01:00
TeoV
2116571e57
Add integration test diameter authorization with ForceDuration flag
2020-12-16 15:31:40 +01:00
TeoV
f6b8bdc97f
Update config for diameter(sctp/dispatcher) with *fd flag
2020-11-05 17:09:01 +01:00
Trial97
102bdeb94a
SupplierS Require connections to RALs for calculating the cost
2020-10-20 19:54:47 +02:00