ionutboangiu
962000656b
Remove global err used by tests
...
Removed many leftover error checks for NewDefaultCGRConfig,
which does not return an error anymore.
2024-07-14 14:08:49 +02:00
armirveliaj
b0c64286e8
Add new unit tests on config
2024-07-14 14:07:21 +02:00
gezimbll
85bd7a50e7
updated sags service name to ranking
2024-07-14 13:39:20 +02:00
gezimbll
4d4392d196
revised comments && renamed sars to trends
2024-07-14 13:39:20 +02:00
gezimbll
6c2fbbec28
added sars model,tp,api
2024-07-14 13:39:20 +02:00
ionutboangiu
eb3bd5cc1d
Add redisPoolPipelineLimit configuration field for datadb
...
Sets the maximum number of commands that can be pipelined before flushing.
0 means no limit and pipelines will only be limited by the time window.
2024-07-05 11:21:16 +02:00
ionutboangiu
ed3fa0d294
Add redisPoolPipelineWindow configuration field for datadb
...
Sets the duration after which internal pipelines are flushed.
0 disabled implicit pipelining.
2024-07-02 19:58:03 +02:00
gezimbll
777d4f0a28
added caching for sagprofile
2024-06-30 17:45:06 +02:00
ionutboangiu
11b96de00a
Add kafkaBatchSize configuration field
...
Avoids the default 1 second delay when the batch doesn't
reach 100 messages within that time.
Useful when the Kafka exporter is not cached, as it would
otherwise encounter that delay. Setting BatchSize to 1
prevents this.
2024-06-30 16:28:52 +02:00
armirveliaj
8f8ff30ff8
Add new unit tests on config
2024-06-18 21:10:00 +02:00
arberkatellari
a0f94c6804
Add/Update unit and integration tests adjusting for sessions backup
2024-06-12 18:21:50 +02:00
arberkatellari
f356695f6f
Add active sessions backup functionalitiy
2024-06-12 18:21:50 +02:00
gezimbll
1c1d211c7c
added config,service for sags
2024-06-12 14:53:30 +02:00
gezimbll
8103cd4c9f
renamed sarS api&®ister the sarS service to servmanager
2024-06-11 10:21:51 +02:00
gezimbll
86df598920
Implemented service,config and api for Sars
2024-06-11 10:21:51 +02:00
armirveliaj
12b2e659b9
Add unit tests
2024-06-06 13:17:59 +02:00
armirveliaj
db0e663560
Coverage test for config
2024-05-23 00:13:59 +02:00
gezimbll
01e0b50d3a
revise tests for disabling rals on cdrs.processevent
2024-05-18 16:57:45 +02:00
armirveliaj
f2cb8bc07c
Add coverage unit test for config pkg
2024-05-18 16:56:47 +02:00
armirveliaj
1ef9ea768e
Add unit test for orderedmap
2024-05-16 16:28:21 +02:00
armirveliaj
8e23794576
Revise unit tests
...
prevent panic for xmldp unit test
sort slice before comparing in radiuscfg unit test
2024-05-16 16:28:21 +02:00
armirveliaj
0e4ab4f322
Added Unit Tests in config
2024-05-16 16:28:21 +02:00
gezimbll
64692891bb
added V1GetActiveSessionIDs method for JanusAgent && revised tests
2024-05-16 16:24:50 +02:00
ionutboangiu
c91fbafe36
Restore compatibility with OpenSIPS
...
For OpenSIPS 3.x, set "client_protocol" to 1.0 in the json configuration
under the "sessions" section. The current default protocol version is 2.0.
Addresses #4339
2024-05-16 10:29:05 +02:00
armirveliaj
ff0bca41f3
Add coverage test
2024-05-12 13:11:02 +02:00
DanB
d8059908eb
JanusAgent with janusgo dependency and start/shutdown methods
2024-04-20 21:12:51 +02:00
gezimbll
cf720b0618
added postgres configuration option to choose the schema( #4318 )
2024-04-16 12:23:38 +02:00
gezimbll
a3e3cde958
added janusconn methods for loading from json
2024-04-09 20:22:31 +02:00
DanB
9b87b32abf
Adding JanusConn to config
2024-04-09 14:59:00 +02:00
gezimbll
c5c8ca5991
added methods for janusagent configuration
2024-04-09 13:43:43 +02:00
DanB
8db91ca479
Basic service infrastructure for JanusAgent
2024-04-08 20:09:06 +02:00
ionutboangiu
b924fc9e0c
Add method on ERsCfg to retrieve reader by ID
2024-04-04 12:31:18 +03:00
ionutboangiu
ca66480c52
Add reply_timeout field for FS event socket conns
2024-03-22 15:12:04 +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
b457768a33
Update actions to share Time ref variable
2024-03-13 18:25:06 +01:00
ionutboangiu
bf939a47ac
Rename chan_delimiter cfg field to active_session_delimiter
2024-03-11 16:59:31 +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
ionutboangiu
28e53cecc9
Add requests_cache_key field to radagent cfg
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
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
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
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
6f86c06fd2
Add sessions_conns field to ThresholdSCfg
2024-02-27 16:28:48 +01:00
DanB
556060817c
Dynamic templates for Radius CoA out of APIOpts
2024-02-20 16:21:13 +01:00
ionutboangiu
d8ad760dbb
Update both ReAuthorize API signatures
...
The one from sessions takes an additional event alongside the
SessionFilter, while the one from agents will accept a CGREvent
instead of a simple originID string
The additional event sent to SessionSv1ReAuthorize will be merged
with the EventStart event from the matched session and can be used
when building server initiated requests from the *req map. The
initial packet which was initially inside *req, will be moved to
the *oreq ExtraDP (stands for original request).
2024-02-14 10:15:51 +01:00