mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07:38:45 +05:00
tested years and asap
This commit is contained in:
@@ -15,38 +15,42 @@
|
||||
# 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]
|
||||
enabled = true
|
||||
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
|
||||
redis_server = 127.0.0.1:6379 #redis address hostort
|
||||
redis_db = 10 # redis database number
|
||||
|
||||
[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)
|
||||
enabled = false # Start balancer server
|
||||
listen = 127.0.0.1:2001 # Balancer listen interface
|
||||
json = false # use JSON for RPC encoding
|
||||
|
||||
[scheduler]
|
||||
enabled = true
|
||||
|
||||
[session_manager]
|
||||
enabled = true
|
||||
api_server = test # balancer address host:port
|
||||
freeswitch_server = test # freeswitch address host:port
|
||||
freeswitch_pass = test # freeswitch address host:port
|
||||
[rater]
|
||||
enable = true
|
||||
listen = 127.0.0.1:2001 # listening address hostort, internal for internal communication only
|
||||
balancer = 127.0.0.1:2000 # if defined it will register to balancer as worker
|
||||
json = false # 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.
|
||||
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.
|
||||
enabled = false
|
||||
cdr_file = Master.csv # Freeswitch Master CSV CDR file.
|
||||
result_file = out.csv # Generated file containing CDR and price info.
|
||||
db_type = postgres # Only one supported for now
|
||||
db_host = localhost # The host to connect to. Values that start with / are for UNIX domain sockets.
|
||||
db_port = 5432 # The port to bind to.
|
||||
db_name = cgrates # The name of the database to connect to.
|
||||
db_user = # The user to sign in as.
|
||||
db_paswd = # The user's password.root
|
||||
|
||||
[scheduler]
|
||||
enabled = false
|
||||
json = false # use JSON for RPC encoding
|
||||
|
||||
[session_manager]
|
||||
enabled = false
|
||||
rater = 127.0.0.1:2000 #address where to access rater. Can be internal, direct rater address or the address of a balancer
|
||||
freeswitch_server = localhost:8021 # freeswitch address hostort
|
||||
freeswitch_pass = ClueCon # freeswitch address hostort
|
||||
json = false # use JSON for RPC encoding
|
||||
|
||||
[stats_server]
|
||||
enabled = false
|
||||
listen = 127.0.0.1:8000 # Web server address (for stat reports)
|
||||
Reference in New Issue
Block a user