mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
93 lines
1.7 KiB
JSON
93 lines
1.7 KiB
JSON
{
|
|
|
|
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
|
|
// Copyright (C) ITsysCOM GmbH
|
|
//
|
|
// This file contains the default configuration hardcoded into CGRateS.
|
|
// This is what you get when you load CGRateS with an empty configuration file.
|
|
|
|
|
|
"general": {
|
|
"log_level": 7, // control the level of messages logged (0-emerg to 7-debug)
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_password": "CGRateS.org",
|
|
},
|
|
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
"cdrs_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"rals_conns": ["*internal"],
|
|
"cdrs_conns": ["*internal"],
|
|
"chargers_conns": ["*internal"],
|
|
"routes_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"rals_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"routes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"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",
|
|
},
|
|
|
|
"dns_agent": {
|
|
"enabled": true,
|
|
"listeners":[
|
|
{
|
|
"address":":2053",
|
|
"network":"udp"
|
|
},
|
|
{
|
|
"address":":2053",
|
|
"network":"tcp"
|
|
},
|
|
{
|
|
"address":":2054",
|
|
"network":"tcp-tls"
|
|
},
|
|
],
|
|
"sessions_conns": ["*localhost"],
|
|
},
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
} |