Commit Graph

329 Commits

Author SHA1 Message Date
DanB
ce45435059 Stats into RALs and RLS, GetFloat64Value added to stat metrics 2017-08-04 09:52:36 +02:00
DanB
dae9768caa Config stats added to rals and rls 2017-08-04 07:47:30 +02:00
DanB
99905494e1 StatS connection within CDRS 2017-08-03 21:01:46 +02:00
DanB
188505fba1 Config stats_conns in the CDRS connections 2017-08-03 18:37:32 +02:00
DanB
75d0d295a3 StatSV1 API struct registered by engine 2017-08-02 16:14:54 +02:00
DanB
2336ff85d4 StatS integrated in engine start routine 2017-08-02 13:51:44 +02:00
Edwardro22
548d84dac3 added tests 2017-07-29 11:19:29 +03:00
DanB
49674ada90 Config precache: false, using the ltcache 2017-07-24 17:49:08 +02:00
DanB
c6254f1ebb Warning instead of Error for going on negative on account, defer file close for cpu_profiling 2017-07-19 11:34:18 +02:00
DanB
6dc3289772 StorDB config conn_max_lifetime, fixes #684 2017-07-02 15:25:30 +02:00
DanB
5573ed2da7 JSON-RPC2 to handle multiple connections via goroutines, fixes #674 2017-06-15 19:01:24 +02:00
DanB
2fd0c9a4d7 SMGenericV2 GetMaxUsage, InitiateSession, UpdateSession API methods returning time.Duration, improvements on RadiusAgent 2017-06-06 13:24:24 +02:00
DanB
5378c511b6 SMKamailio replacing cdrstats with rls in config, resource limit APIs in auth and call end, ResourceAllowed in auth reply 2017-05-07 21:13:49 +02:00
DanB
6c1ab56bc5 Passing CDRStatS connection pool to SMKamailio 2017-05-07 18:37:43 +02:00
DanB
6d51ed24ab Adding resource limit indexing to tp_reader, automatic start or RPC service for RLs 2017-05-07 16:12:33 +02:00
DanB
2c38d4ffac ResourceLimits with standalone RPC object, renaming of RPC methods 2017-05-06 21:28:43 +02:00
DanB
103558bd4b Skel of RadiusAgent with sample config 2017-04-24 19:46:58 +02:00
alin104n
263a779c8c Remove Balancer 2017-04-09 07:40:59 +03:00
alin104n
d788452933 Accounting, Rating DBs merge, TPModels in StorDB 2017-04-03 21:17:12 +03:00
DanB
b0184b4113 PubSubS parsing RSR rules on start 2017-02-21 18:58:11 +01:00
DanB
aca12543c9 RSRField - add Rule string so we can retrieve the rule after creation 2017-02-21 15:58:14 +01:00
DanB
d27dc06e7d CDRExporter redesign, modified configuration parameters, CDRS replication -> online_cdr_exports 2017-02-14 17:41:30 +01:00
DanB
3de15e794c SMGeneric.ReplicateActiveSessions redesign to prepare for passiveSessions replication 2017-01-31 17:50:11 +01:00
DanB
839a754a43 Enabling Bidirectional RPC in SMGeneric 2017-01-24 20:45:10 +01:00
DanB
305d13971d AccountActionPlans in stordb, cache/precache populating account action plans, tp_reader populating account action plans, tests related 2017-01-08 21:30:54 +01:00
DanB
d200708083 Adding git hash to version of the binaries 2017-01-02 14:41:31 +01:00
DanB
8fd58897eb Fix for precaching all 2016-12-30 16:45:42 +01:00
DanB
36bff4d663 ApierV1.GetCacheKeys implementation, precaching on start fixes #614 2016-12-28 13:06:00 +01:00
DanB
a9b10b7f65 PreloadCache -> LoadCache 2016-12-27 18:22:11 +01:00
DanB
7111bf239c Apierv1.PreloadCache, ApierV1.FlushCache with options, remove Responder.FlushCache, fixes at CacheDataFromDB for all keys 2016-12-23 19:30:14 +01:00
DanB
03a9569190 Preload data on start, properly handle reloads when loadFromFolder or stor, ApierV1.PreloadCache method 2016-12-21 16:01:10 +01:00
DanB
2f9f601db2 New ServiceManager handling dynamic service start/stop, *scheduler management through it, new CapitalizeMessage function in utils 2016-12-03 13:45:17 +01:00
DanB
c5cd0119d1 Scheduler does not longer reload on HUP received 2016-12-01 17:34:21 +01:00
DanB
593fef9162 Adding InstanceID in logging, configurable instanceID in config/general section, fixes #584 2016-11-24 19:03:57 +01:00
Shane Neuerburg
7acfa6acbc Set up JSON RPC and WebSocket URLs to be configurable
This also allows the two URLs to be disabled entirely. Also in this commit is rudimentary basic auth support for WebSockets
2016-11-11 16:17:54 -07:00
Shane Neuerburg
0cfd025a0d Add basic authentication without dependencies
This adds a rudimentary basic auth scheme without including dependencies.
2016-11-10 16:35:08 -07:00
Shane Neuerburg
a88a1e75ed Add basic authentication to HTTP API
This adds support for basic authentication for the HTTP API with new configuration values to control if basic auth is used, the basic auth realm URL, and the location to a basic .htpasswd file.

github.com/abbot/go-http-auth is added as a dependency as it efficiently implements basic auth, as well as .htpasswd file monitoring.
2016-11-10 10:57:55 -07:00
DanB
b5279062ed Diameter using POOL_FIRST for SMG connection instead of POOL_BROADCAST 2016-11-09 17:30:09 +01:00
DanB
37c853cb91 RPCClient with lazyConnect 2016-11-08 16:03:30 +01:00
DanB
864450809d SMGeneric SessionReplication with connection establishment 2016-10-28 17:28:06 +02:00
DanB
bd0a902005 Adding log_level in cgrates.json, not longer starting services from cgr-engine command arguments 2016-10-25 19:10:47 +02:00
Shane Neuerburg
6c05c42c44 Add command line flag to cgr-engine for logging levels
This adds a new -log_level flag to cgr-engine, defaulting to 5 (INFO). The logger has been extended to drop log messages that do not meet or exceed the log level requested.
2016-10-21 19:31:24 -06:00
DanB
aad88d2973 Renamed cache2go into cache for simplicity 2016-10-07 18:35:48 +02:00
DanB
d14976a2de SMGeneric with Call method, cgr-engine passing concrete SMGeneric object instead of interface as internalSMGChan 2016-09-23 13:13:02 +02:00
DanB
0f2a6ede59 BiRPCInternalClient, modifying SMGeneric to work as BiRPCServer interface 2016-09-22 21:21:29 +02:00
DanB
444a8efc16 Refactoring bidirectional connnections in SMGeneric for session disconnects 2016-09-21 11:33:27 +02:00
DanB
b74151bb17 SM-Asterisk using aringo to connect to Asterisk 2016-09-08 21:28:35 +02:00
DanB
c922ea0bfe SMAsterisk - Start empty skel service 2016-09-07 21:37:24 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
f7edd20174 Cache redesign, fixing transactions mechanism 2016-08-31 11:43:33 +02:00