mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
108 lines
1.6 KiB
JSON
108 lines
1.6 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
|
|
|
|
"general": {
|
|
"node_id": "CGRateSTutorial",
|
|
"log_level": 7
|
|
},
|
|
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_password": "CGRateS.org",
|
|
},
|
|
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
"cdrs_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["*localhost"],
|
|
"stats_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"extra_fields": ["~*req.PayPalAccount", "~*req.LCRProfile", "~*req.ResourceID"],
|
|
"chargers_conns":["*localhost"],
|
|
"store_cdrs": true,
|
|
"online_cdr_exports": []
|
|
},
|
|
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"resources_conns": ["*localhost"],
|
|
"routes_conns": ["*localhost"],
|
|
"attributes_conns": ["*localhost"],
|
|
"rals_conns": ["*internal"],
|
|
"cdrs_conns": ["*internal"],
|
|
"chargers_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
"string_indexed_fields": ["*req.Account"]
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"string_indexed_fields": ["*req.Account"]
|
|
},
|
|
|
|
|
|
"resources": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["*localhost"],
|
|
"string_indexed_fields": ["*req.Account"]
|
|
},
|
|
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["*localhost"],
|
|
"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"],
|
|
},
|
|
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*localhost"],
|
|
},
|
|
|
|
"filters": {
|
|
"apiers_conns": ["*internal"],
|
|
},
|
|
|
|
}
|