mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
83 lines
2.7 KiB
JSON
83 lines
2.7 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used in apier_local_tests
|
|
// Starts rater, cdrs and mediator connecting over internal channel
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
"poster_attempts": 1,
|
|
},
|
|
|
|
|
|
"cache":{
|
|
"destinations": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"reverse_destinations": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"rating_plans": {"limit": 10000, "ttl":"0s","precache": true},
|
|
"rating_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"lcr_rules": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"cdr_stats": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"actions": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"action_plans": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"account_action_plans": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"action_triggers": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"shared_groups": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"aliases": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"reverse_aliases": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"derived_chargers": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"resource_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"resources": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"statqueues": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"statqueue_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"thresholds": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"threshold_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
"filters": {"limit": 10000, "ttl":"0s", "precache": true},
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
|
|
"stor_db": { // database used to store offline tariff plans and CDRs
|
|
"db_password": "CGRateS.org", // password to use when connecting to stordb
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
"aliases_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
},
|
|
|
|
"scheduler": {
|
|
"enabled": true, // start Scheduler service: <true|false>
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"rals_conns": [
|
|
{"address": "*internal"} // address where to reach the Rater <""|*internal|127.0.0.1:2013>
|
|
],
|
|
},
|
|
|
|
"aliases": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
},
|
|
|
|
"cdre": {
|
|
"*default": {
|
|
"export_path": "/tmp/cgrates/cdr/cdrexport/csv", // path where the exported CDRs will be placed
|
|
}
|
|
},
|
|
|
|
"cdrstats": {
|
|
"enabled": true, // starts the cdrstats service: <true|false>
|
|
"save_interval": "0s", // interval to save changed stats into dataDb storage
|
|
},
|
|
|
|
}
|