mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
117 lines
1.6 KiB
JSON
117 lines
1.6 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": ["PayPalAccount", "LCRProfile", "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": ["Account"]
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["conn1"],
|
|
"string_indexed_fields": ["Account"]
|
|
},
|
|
|
|
|
|
"resources": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["conn1"],
|
|
"string_indexed_fields": ["Account"]
|
|
},
|
|
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["conn1"],
|
|
"string_indexed_fields": ["Account"]
|
|
},
|
|
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"string_indexed_fields": ["Account"]
|
|
},
|
|
|
|
|
|
"routes": {
|
|
"enabled": true,
|
|
"string_indexed_fields": ["LCRProfile"],
|
|
"prefix_indexed_fields":["Destination"],
|
|
},
|
|
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
"filters": {
|
|
"apiers_conns": ["*internal"],
|
|
},
|
|
|
|
}
|