mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
87 lines
1.5 KiB
JSON
Executable File
87 lines
1.5 KiB
JSON
Executable File
{
|
|
// 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",
|
|
},
|
|
|
|
|
|
"rpc_conns": {
|
|
"conn1": {
|
|
"strategy": "*first",
|
|
"conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}],
|
|
},
|
|
},
|
|
|
|
|
|
"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": "mongo",
|
|
"db_name": "cgrates",
|
|
"db_port": 27017,
|
|
},
|
|
|
|
|
|
"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": ["conn1"],
|
|
"cdrs_conns": ["conn1"],
|
|
"rals_conns": ["conn1"],
|
|
"chargers_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
}
|