46 Commits

Author SHA1 Message Date
gezimbll
4bd459b486 modified astagent call methods over http 2026-01-22 10:05:44 +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
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
gezimbll
c233daef58 replaced sched_hangup with sched_transfer 2025-09-09 17:32:01 +02:00
arberkatellari
2385597155 Add route_profile option to switch agents in config 2025-06-25 19:11:15 +02:00
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
arberkatellari
a0f94c6804 Add/Update unit and integration tests adjusting for sessions backup 2024-06-12 18:21: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
ionutboangiu
ca66480c52 Add reply_timeout field for FS event socket conns 2024-03-22 15:12:04 +01:00
ionutboangiu
bf939a47ac Rename chan_delimiter cfg field to active_session_delimiter 2024-03-11 16:59:31 +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
DanB
a0a508d667 SessionS - adding stale_chan_max_extra_usage configuration to randomize the usage of stale sessions 2023-10-01 13:32:09 +02:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
gezimbll
0d72169516 coverage tests at configs 2022-10-25 09:34:07 +02:00
ionutboangiu
b3341855ce Repair tests after adding max_reconnect_interval option for multiple config sections 2022-05-28 09:50:01 +02:00
nickolasdaniel
a150a38481 Removed synchronous field from DispatcherHost and RemoteHost 2021-07-25 12:08:40 +02:00
Filip Nickolas
9960ea0c10 Added coverage test in config 2021-03-04 14:01:49 +01:00
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
Trial97
3afe8fc6a6 Added support for BiGOB server 2021-02-22 11:53:56 +01:00
Trial97
9f75ab918c Updated biRPC support in connmanager 2021-02-22 11:53:56 +01:00
Trial97
27cae3856e Replaced max_call_duration config with default_usage for each ToR 2021-02-19 19:15:16 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
570356b459 Changed consts in utils and repaired account profiles it testin apier/v1 2021-01-07 18:15:35 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
Trial97
f158b191f3 Added Clone functions for all config sections 2020-11-27 08:41:56 +01:00
Trial97
c539800acd Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
porosnicuadrian
e92bfcfd4c Removed err from function's signature of loadFromJsonCfg RPCCOnns 2020-11-12 17:58:13 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
Trial97
b2db71f303 Added APIs to reload config from string 2020-10-29 17:55:26 +01:00
porosnicuadrian
cf81fc80e0 Moved MaxCallDuration & MinCallDuration from sessions section to general section 2020-10-20 19:56:09 +02:00
Trial97
1833c1e10d Removed LowBalanceAnnFile config from AsteriskAgent 2020-10-20 11:09:16 +02:00
Trial97
b06661af42 Added option to not read *env variables in RJReader 2020-10-15 12:41:04 +02:00
porosnicuadrian
f9c71372c9 Covered sessionscfg to 100% 2020-10-07 19:54:46 +02:00
porosnicuadrian
a5ba10eb8d Updated load tests for sessions, asteriskconn and fsagent 2020-09-30 13:28:16 +02:00
porosnicuadrian
4a930404ee Updated AsMapInterface method for sessioncfg 2020-09-28 13:05:21 +02:00
porosnicuadrian
34910a70ff Added more tests to AsMapInterface on sessionscfg 2020-09-25 13:03:28 +02:00
porosnicuadrian
fbe425f144 Updated sessions and loaders AsMapInterface method 2020-09-25 13:03:28 +02:00
TeoV
a7ea24a3ef Add SessionTLLLastUsage as option for an extra debit in case of ttl mechanism 2020-06-22 10:50:14 +02:00
TeoV
f7431c53d8 Update integration test after renaming from Supplier to Route 2020-04-30 15:54:49 +02:00
TeoV
d683ab48fb Update unit tests after renaming 2020-04-30 15:54:49 +02:00
Trial97
1127fe3177 Fixed sessioncfg test 2020-04-30 12:05:31 +02:00
adragusin
6416fa3b35 Updated AsMapInterface method for SessionSCfg/Added test 2020-04-29 17:07:31 +02:00
adragusin
af9014e8aa Added test for some AsMapInterface methods 2020-04-28 17:09:37 +02:00
TeoV
8f81bb0b75 Add replication_conns options in cache and move cache partitions in "partitions" 2020-04-10 16:53:28 +02:00