{ // CGRateS Configuration file // // Used for cgradmin // Starts rater, scheduler "general": { }, "listen": { "rpc_json": ":2012", // RPC JSON listening address "rpc_gob": ":2013", // RPC GOB listening address "http": ":2080", // HTTP listening address }, "data_db": { // database used to store offline tariff plans and CDRs "db_type": "mongo", // stor database type to use: "db_host": "127.0.0.1", // the host to connect to "db_port": 27017, // the port to reach the stordb "db_name": "datadb", }, "stor_db": { // database used to store offline tariff plans and CDRs "db_type": "mongo", // stor database type to use: "db_host": "127.0.0.1", // the host to connect to "db_port": 27017, // the port to reach the stordb "db_name": "stordb", }, "rals": { "enabled": true, // enable Rater service: }, "scheduler": { "enabled": true, // start Scheduler service: }, "users": { "enabled": true, // starts users service: . }, "apier": { "scheduler_conns": [ // connections to SchedulerS for reloads {"address": "*internal"}, ], }, }