Files
cgrates/data/conf/samples/caps_queue/cgrates.json
2025-10-19 13:15:57 +02:00

60 lines
1.2 KiB
JSON

{
"general": {
"node_id": "ConcurrentQueueEngine",
"reply_timeout": "50s",
},
"logger": {
"level": 7
},
"cores": {
"caps": 2,
"caps_strategy": "*queue",
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080",
},
"db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_conns": {
"*default": {
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"StorDB": { // The id of the DB connection
"db_type": "mysql", // db type: <internal|redis|mysql|mongo|postgres>
"db_host": "127.0.0.1", // the host to connect to
"db_port": 3306, // db port to reach the database
"db_name": "cgrates", // db database name to connect to
"db_user": "cgrates", // username to use when connecting to the database
"db_password": "CGRateS.org" // password to use when connecting to the database
},
},
"items": {
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
}
},
"admins": {
"enabled": true,
},
"sessions": {
"enabled": true,
"listen_bijson": "127.0.0.1:2014"
},
}