mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
58 lines
2.1 KiB
Plaintext
58 lines
2.1 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
|
|
|
|
[rater]
|
|
standalone = true # start standalone server (no balancer)
|
|
balancer_server = test # balancer address host:port
|
|
listen_api = test # listening address host:port
|
|
json = true # use JSON for RPC encoding
|
|
|
|
[balancer]
|
|
enabled = true
|
|
standalone = true # run standalone
|
|
listen_rater = test # Rater server address
|
|
listen_api = test # Json RPC server address
|
|
web_status_server = test # Web server address (for status)
|
|
json = true # use JSON for RPC encoding
|
|
|
|
[scheduler]
|
|
enabled = true
|
|
standalone = true # run standalone (no other service)
|
|
json = true # use JSON for RPC encoding
|
|
|
|
[session_manager]
|
|
enabled = true
|
|
standalone = true # run standalone
|
|
api_server = test # balancer address host:port
|
|
freeswitch_server = test # freeswitch address host:port
|
|
freeswitch_pass = test # freeswitch address host:port
|
|
json = true # use JSON for RPC encoding
|
|
|
|
[mediator]
|
|
enabled = true
|
|
standalone = true # run standalone
|
|
cdr_file = test # Freeswitch Master CSV CDR file.
|
|
result_file = test # Generated file containing CDR and price info.
|
|
host = test # The host to connect to. Values that start with / are for UNIX domain sockets.
|
|
port = test # The port to bind to.
|
|
db = test # The name of the database to connect to.
|
|
user = test # The user to sign in as.
|
|
password = test # The user's password.
|