Files
cgrates/data/conf/samples/tutmysql2_gob/cgrates.json
2021-08-30 17:53:42 +03:00

121 lines
1.7 KiB
JSON

{
// CGRateS Configuration file
//
"general": {
"node_id": "CGRateSTutorial",
"log_level": 7
},
"rpc_conns": {
"conn1": {
"strategy": "*first",
"conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}],
},
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080",
},
"stor_db": {
"db_password": "CGRateS.org",
},
"schedulers": {
"enabled": true,
"cdrs_conns": ["conn1"],
},
"rals": {
"enabled": true,
"thresholds_conns": ["conn1"],
"stats_conns": ["conn1"],
},
"cdrs": {
"enabled": true,
"extra_fields": ["~*req.PayPalAccount", "~*req.LCRProfile", "~*req.ResourceID"],
"chargers_conns":["conn1"],
"store_cdrs": true,
"online_cdr_exports": []
},
"sessions": {
"enabled": true,
"resources_conns": ["conn1"],
"routes_conns": ["conn1"],
"attributes_conns": ["conn1"],
"rals_conns": ["*internal"],
"cdrs_conns": ["*internal"],
"chargers_conns": ["*internal"],
},
"attributes": {
"enabled": true,
"string_indexed_fields": ["*req.Account"]
},
"chargers": {
"enabled": true,
"attributes_conns": ["conn1"],
"string_indexed_fields": ["*req.Account"]
},
"resources": {
"enabled": true,
"thresholds_conns": ["conn1"],
"string_indexed_fields": ["*req.Account"]
},
"stats": {
"enabled": true,
"thresholds_conns": ["conn1"],
"string_indexed_fields": ["*req.Account"]
},
"thresholds": {
"enabled": true,
"string_indexed_fields": ["*req.Account"]
},
"routes": {
"enabled": true,
"string_indexed_fields": ["*req.LCRProfile"],
"prefix_indexed_fields":["*req.Destination"],
},
"admins": {
"enabled": true,
"scheduler_conns": ["*internal"],
},
"filters": {
"accounts_conns": ["*internal"],
},
"accounts": {
"enabled": true
},
}