mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
# Rating system designed to be used in VoIP Carriers World
|
|
# Copyright (C) 2012 Radu Ioan Fericean
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
[global]
|
|
redis_server = test #redis address host:port
|
|
redis_db = 1 # redis database number
|
|
|
|
[balancer]
|
|
enabled = true # Start balancer server
|
|
listen = test # Balancer listen interface
|
|
rpc_encoding = test # use JSON for RPC encoding
|
|
|
|
[rater]
|
|
enabled = true
|
|
listen = test # listening address host:port, internal for internal communication only
|
|
balancer = test # if defined it will register to balancer as worker
|
|
rpc_encoding = test # use JSON for RPC encoding
|
|
|
|
[mediator]
|
|
enabled = true
|
|
cdr_file = test # Freeswitch Master CSV CDR file.
|
|
result_file = test # Generated file containing CDR and price info.
|
|
rater = test #address where to access rater. Can be internal, direct rater address or the address of a balancer
|
|
db_type = test # Only one supported for now
|
|
db_host = test # The host to connect to. Values that start with / are for UNIX domain sockets.
|
|
db_port = test # The port to bind to.
|
|
db_name = test # The name of the database to connect to.
|
|
db_user = test # The user to sign in as.
|
|
db_passwd = test # The user's password.root
|
|
rpc_encoding = test # use JSON for RPC encoding
|
|
skipdb = true
|
|
|
|
[scheduler]
|
|
enabled = true
|
|
|
|
[session_manager]
|
|
enabled = true
|
|
rater = test #address where to access rater. Can be internal, direct rater address or the address of a balancer
|
|
freeswitch_server = test # freeswitch address host:port
|
|
freeswitch_pass = test # freeswitch address host:port
|
|
rpc_encoding = test # use JSON for RPC encoding
|
|
|
|
[stats_server]
|
|
enabled = true
|
|
listen = test # Web server address (for stat reports) |