Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication

This commit is contained in:
DanB
2015-03-27 18:29:28 +01:00
parent 28a76e616f
commit 7677a5ff89
47 changed files with 640 additions and 758 deletions

View File

@@ -82,17 +82,17 @@
// "store_disable": false, // when true, CDRs will not longer be saved in stordb, useful for cdrstats only scenario
},
"mediator": {
"enabled": true, // starts Mediator service: <true|false>.
// "reconnects": 3, // number of reconnects to rater/cdrs before giving up.
"rater": "internal", // address where to reach the Rater: <internal|x.y.z.y:1234>
"cdrstats": "internal", // address where to reach the cdrstats service. Empty to disable stats gathering out of mediated CDRs <""|internal|x.y.z.y:1234>
// "store_disable": false, // when true, CDRs will not longer be saved in stordb, useful for cdrstats only scenario
"cdrs": {
"enabled": true, // start the CDR Server service: <true|false>
// "extra_fields": [], // extra fields to store in CDRs for non-generic CDRs
// "store_cdrs": true, // store cdrs in storDb
"rater": "internal", // address where to reach the Rater for cost calculation, empty to disable functionality: <""|internal|x.y.z.y:1234>
"cdrstats": "internal", // address where to reach the cdrstats service, empty to disable stats functionality<""|internal|x.y.z.y:1234>
// "reconnects": 5, // number of reconnect attempts to rater or cdrs
// "cdr_replication":[], // replicate the raw CDR to a number of servers
},
"cdrstats": {
"cdr_stats": {
"enabled": true, // starts the cdrstats service: <true|false>
// "queue_length": 50, // number of items in the stats buffer
// "time_window": "1h", // will only keep the CDRs who's call setup time is not older than time.Now()-TimeWindow