mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
77 lines
1.3 KiB
JSON
77 lines
1.3 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
},
|
|
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
"rpc_json_tls":":2022",
|
|
"rpc_gob_tls":":2023",
|
|
"http_tls": "localhost:2280",
|
|
},
|
|
|
|
"tls": {
|
|
"server_certificate" : "/usr/share/cgrates/tls/server.crt", // path to server certificate(must conatin server.crt + ca.crt)
|
|
"server_key":"/usr/share/cgrates/tls/server.key", // path to server key
|
|
"client_certificate" : "/usr/share/cgrates/tls/client.crt", // path to client certificate(must conatin client.crt + ca.crt)
|
|
"client_key":"/usr/share/cgrates/tls/client.key", // path to client key
|
|
"ca_certificate":"/usr/share/cgrates/tls/ca.crt",
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_type": "*internal",
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
"max_increments":3000000,
|
|
},
|
|
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"chargers_conns": ["*internal"],
|
|
"rals_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"cdrs_conns": ["*localhost"],
|
|
"rals_conns": ["*localhost"],
|
|
"chargers_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
}
|