From 8580227fba0d0fa17658245f45b156ed9e44a4c1 Mon Sep 17 00:00:00 2001 From: DanB Date: Fri, 12 Apr 2013 09:16:05 +0200 Subject: [PATCH] Adding the default cgrates.cfg --- data/conf/cgrates.cfg | 70 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 data/conf/cgrates.cfg diff --git a/data/conf/cgrates.cfg b/data/conf/cgrates.cfg new file mode 100644 index 000000000..fc1872d96 --- /dev/null +++ b/data/conf/cgrates.cfg @@ -0,0 +1,70 @@ +# CGRateS Configuration fileRPC encoding used: . +# +# This file contains the default configuration hardcoded into CGRateS. +# This is what you get when you load CGRateS with an empty configuration file. +# [global] must exist in all files, rest of the configuration is inter-changeable. + +[global] +# datadb_type = redis # The main database: . +# datadb_host = 127.0.0.1 # Database host address. +# datadb_port = 6379 # Port to reach the database. +# datadb_name = 10 # The name of the database to connect to. +# datadb_user = # Username to use when connecting to database. +# datadb_passwd = # Password to use when connecting to database. +# logdb_type = mongo # Log/stored database type to use: +# logdb_host = 127.0.0.1 # The host to connect to. Values that start with / are for UNIX domain sockets. +# logdb_port = 27017 # The port to reach the logdb. +# logdb_name = cgrates # The name of the log database to connect to. +# logdb_user = cgrates # Username to use when connecting to logdb. +# logdb_passwd = CGRateS.org # Password to use when connecting to logdb. + +[balancer] +# enabled = false # Start Balancer service: . +# listen = 127.0.0.1:2012 # Balancer listen interface: . +# rpc_encoding = gob # RPC encoding used: . + +[rater] +# enabled = false # Enable Rater service: . +# balancer = disabled # Register to Balancer as worker: . +# listen = 127.0.0.1:2012 # Rater's listening interface: . +# rpc_encoding = gob # RPC encoding used: . + +[scheduler] +# enabled = false # Starts Scheduler service: . + +[mediator] +# enabled = false # Starts Mediator service: . +# rater = 127.0.0.1:2012 # Address where to reach the Rater. +# rpc_encoding = gob # RPC encoding used when talking to Rater: . +# skipdb = false # Skips database checks for previous recorded prices: . +# pseudoprepaid = false # Execute debits together with pricing: . +# cdr_type = freeswitch_cdr # CDR type . +# cdr_in_dir = /var/log/freeswitch/cdr-csv/ # Absolute path towards the directory where the CDRs are kept. +# cdr_out_dir = /var/log/cgrates/cdr_out # Absolute path towards the directory where processed CDRs will be exported. + +[session_manager] +# enabled = false # Starts SessionManager service: . +# switch_type = freeswitch # Defines the type of switch behind: . +# rater = 127.0.0.1:2012 # Address where to reach the Rater. +# debit_interval = 5 # Interval to perform debits on. +# rpc_encoding = gob # RPC encoding used when talking to Rater: . +# default_reqtype = prepaid # Default request type to consider when missing from requests: <""|prepaid|postpaid>. +# default_tor = 0 # Default Type of Record to consider when missing from requests. +# default_tenant = 0 # Default Tenant to consider when missing from requests. +# default_subject = 0 # Default rating Subject to consider when missing from requests. + +[freeswitch] +# server = 127.0.0.1:8021 # Adress where to connect to FreeSWITCH socket. +# passwd = ClueCon # FreeSWITCH socket password. +# reconnects = 5 # Number of attempts on connect failure. +# uuid_index = # Index of the UUID info in the CDR file. +# direction_index = # Index of the CallDirection info in the CDR file. +# tor_index = # Index of the TypeOfRecord info in the CDR file. +# tenant_index = # Index of the Tenant info in the CDR file. +# subject_index = # Index of the Subject info in the CDR file. +# account_index = # Index of the Account info in the CDR file. +# destination_index = # Index of the Destination info in the CDR file. +# time_start_index = # Index of the TimeStart info in the CDR file. +# duration_index = # Index of the CallDuration info in the CDR file. + +