Commit Graph

4944 Commits

Author SHA1 Message Date
Shane Neuerburg
ccb8be59b2 Add DebitUsageWithOptions endpoint
This endpoint allows the caller to determine if the account should be allowed to go negative.
2016-11-08 13:24:59 -07:00
DanB
8002675a5f Fix RatingProfile caching for LCR rules, fixes #546 2016-10-26 19:26:38 +02:00
DanB
11c8ed2de9 Update rpcclient with fixes for internal connection 2016-10-26 12:43:41 +02:00
DanB
41e8cf937f Fix glide.lock conflict 2016-10-26 12:28:58 +02:00
DanB
23693c2df2 SMGeneric - different tables for active and passive sessions, storage_mongo to avoid dropping system namespace on flushdb 2016-10-26 12:27:26 +02:00
DanB
d058544213 Update rpcclient to protect nil internal connection 2016-10-26 11:37:22 +02:00
DanB
39f10f468a Update rpcclient library to avoid panics 2016-10-26 10:41: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
DanB
734ad7078d RpcClient library update with better read locking 2016-10-25 19:10:13 +02:00
DanB
b32364e70a Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-25 17:39:00 +02:00
Dan Christian Bogos
b841b6577a Merge pull request #573 from shaneneuerburg/log-level-control
Add command line flag to cgr-engine for logging levels
2016-10-24 17:23:12 +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
77bdb0f795 Fix panic for reader when no action plan found 2016-10-21 20:23:14 +02:00
DanB
3bd6ec39bd Decouple authorization from lcr in SM-FreeSWITCH, fixes #567 2016-10-20 13:39:01 +02:00
DanB
45c323c8ae Loader to accept *enforce for writing version information 2016-10-19 14:55:08 +02:00
DanB
87f6bdc2fd Another doc fix 2016-10-19 12:55:34 +02:00
DanB
3b539e8454 Small doc fixup 2016-10-19 12:52:17 +02:00
DanB
ae9f6f0c3b Adding support for *http_json_map for CDR replication with dynamic fields, fixes #563 2016-10-14 21:12:58 +02:00
DanB
b7445e5e99 Centralized replication/exports using field templates, CDRExporter with less parameters via API - moved to field templates 2016-10-14 18:35:07 +02:00
DanB
3c5c41d542 Adding content_fields to CDRS replication config 2016-10-14 12:51:48 +02:00
DanB
3425a8da53 CDR.formatField implementation 2016-10-14 09:18:13 +02:00
DanB
4c56ea6f6c Slightly increase guardian timeout tests so travis can finish it's tests 2016-10-13 17:59:25 +02:00
DanB
7f44dcba69 HTTPPoster with reply timeout and connection caching for CDR replication 2016-10-13 17:54:24 +02:00
DanB
39b601780a Fix for setBalance not checking actionTriggers on default balance 2016-10-13 11:16:41 +02:00
DanB
992543872a Guardian - avoid using defer to speed up a bit 2016-10-13 10:32:58 +02:00
DanB
32a9da2f41 Adding APierV2 into local tests 2016-10-12 19:49:31 +02:00
DanB
6a0044b063 ApierV2.SetAccountActionTriggers, tests for APIerV2 2016-10-12 19:46:00 +02:00
DanB
36bc00ae77 Mongo MatchReqFilterIndex fix, added mongo integration tests for RequestFilterIndexes 2016-10-11 15:32:08 +02:00
DanB
b167aa00e4 ResourceLimit and ReqFilterIndexes implementation in mongo driver 2016-10-10 21:01:27 +02:00
DanB
70a7d2ae75 ResourceLimiter with limits matched via db driver, MapStorage implementing RL methods 2016-10-09 13:41:56 +02:00
DanB
f6ac392439 ReqFilterIndexes in storage_interface and implemented in redis driver 2016-10-08 21:42:00 +02:00
DanB
d9c62783f8 New ReqFilterIndexer, indexes moved to standard cache 2016-10-08 19:06:35 +02:00
DanB
118d47953a CacheService and fiCache partial implementation 2016-10-07 21:30:44 +02:00
DanB
aad88d2973 Renamed cache2go into cache for simplicity 2016-10-07 18:35:48 +02:00
DanB
6024cfff98 Remote locks implementation, fixes #525 2016-10-06 20:01:56 +02:00
DanB
5eff7d9ed4 Improved Guardian, GuardIDs and UnguardIDs methods 2016-10-06 19:54:16 +02:00
DanB
387054be44 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-05 18:34:09 +02:00
DanB
83df467a74 Update rpcclient version 2016-10-05 18:33:54 +02:00
Dan Christian Bogos
74d21e1d6a Merge pull request #557 from rinor/cgrates-doc
docs - add more sm_asterisk related info
2016-10-05 13:30:24 +02:00
Dan Christian Bogos
9ca2817c8a Merge pull request #558 from razvancrainea/master
/var/log/cgrates directory is no longer created and used
2016-10-05 13:30:08 +02:00
Razvan Crainea
4216c5f061 /var/log/cgrates directory is no longer created and used
Since the directory is no longer created, the postinstall script fails
and the package cannot be installed.

A temporary fix is to manually create the directory, but it is no longer
used anyway in the config file.
2016-10-05 11:34:54 +03:00
rinor
83c68f61d6 docs - add more sm_asterisk related info 2016-10-04 21:52:11 +02:00
DanB
d427aecde5 Simplified failover for redis, should hanle also timeouts 2016-10-04 18:24:30 +02:00
DanB
ed4a14805b Redis pool - Lock on close 2016-10-04 17:40:48 +02:00
DanB
db61fb7b67 Redis close connections on pool reinit, thanks @eloycoto 2016-10-04 17:39:20 +02:00
DanB
fd0cc1717e Improved redis reconnects 2016-10-04 17:16:20 +02:00
Dan Christian Bogos
e2030470e2 Merge pull request #551 from eloycoto/redis-client
Redis: Added method to reconnect on redis if any IOErr reply. Fix #543
2016-10-04 13:39:37 +02:00
DanB
836994c30b RSRFilter test for non empty value 2016-10-04 12:39:46 +02:00
DanB
22177b7519 Link towards AsteriskARI tutorial 2016-10-03 20:59:39 +02:00
DanB
a14e1c5d7b AsteriskARI tutorial files 2016-10-03 20:53:18 +02:00