{ // 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}, "lcr_profiles": {"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: "aliases_conns": [ {"address": "*internal"} ], }, "scheduler": { "enabled": true, // start Scheduler service: }, "cdrs": { "enabled": true, // start the CDR Server service: "rals_conns": [ {"address": "*internal"} // address where to reach the Rater <""|*internal|127.0.0.1:2013> ], }, "attributes": { // Attribute service "enabled": true, // starts Alias service: . }, "resources": { "enabled": true, }, "stats": { "enabled": true, }, "thresholds": { "enabled": true, }, "suppliers": { "enabled": true, }, "aliases": { "enabled": true, // start the CDR Server service: }, "cdre": { "*default": { "export_path": "/tmp/cgrates/cdr/cdrexport/csv", // path where the exported CDRs will be placed } }, "cdrstats": { "enabled": true, // starts the cdrstats service: "save_interval": "0s", // interval to save changed stats into dataDb storage }, }