|
|
|
|
@@ -5,36 +5,37 @@
|
|
|
|
|
# This is what you get when you load CGRateS with an empty configuration file.
|
|
|
|
|
|
|
|
|
|
[global]
|
|
|
|
|
# ratingdb_type = redis # Rating subsystem database: <redis>.
|
|
|
|
|
# ratingdb_host = 127.0.0.1 # Rating subsystem database host address.
|
|
|
|
|
# ratingdb_port = 6379 # Rating subsystem port to reach the database.
|
|
|
|
|
# ratingdb_name = 10 # Rating subsystem database name to connect to.
|
|
|
|
|
# ratingdb_user = # Rating subsystem username to use when connecting to database.
|
|
|
|
|
# ratingdb_passwd = # Rating subsystem password to use when connecting to database.
|
|
|
|
|
# accountdb_type = redis # Accounting subsystem database: <redis>.
|
|
|
|
|
# accountdb_host = 127.0.0.1 # Accounting subsystem database host address.
|
|
|
|
|
# accountdb_port = 6379 # Accounting subsystem port to reach the database.
|
|
|
|
|
# accountdb_name = 11 # Accounting subsystem database name to connect to.
|
|
|
|
|
# accountdb_user = # Accounting subsystem username to use when connecting to database.
|
|
|
|
|
# accountdb_passwd = # Accounting subsystem password to use when connecting to database.
|
|
|
|
|
# stordb_type = mysql # Stor database type to use: <mysql>
|
|
|
|
|
# stordb_host = 127.0.0.1 # The host to connect to. Values that start with / are for UNIX domain sockets.
|
|
|
|
|
# stordb_port = 3306 # The port to reach the logdb.
|
|
|
|
|
# stordb_name = cgrates # The name of the log database to connect to.
|
|
|
|
|
# stordb_user = cgrates # Username to use when connecting to stordb.
|
|
|
|
|
# stordb_passwd = CGRateS.org # Password to use when connecting to stordb.
|
|
|
|
|
# stordb_max_open_conns = 0 # Maximum database connections opened
|
|
|
|
|
# stordb_max_idle_conns = -1 # Maximum database connections idle
|
|
|
|
|
# dbdata_encoding = msgpack # The encoding used to store object data in strings: <msgpack|json>
|
|
|
|
|
# rpc_json_listen = 127.0.0.1:2012 # RPC JSON listening address
|
|
|
|
|
# rpc_gob_listen = 127.0.0.1:2013 # RPC GOB listening address
|
|
|
|
|
# http_listen = 127.0.0.1:2080 # HTTP listening address
|
|
|
|
|
# default_reqtype = rated # Default request type to consider when missing from requests: <""|prepaid|postpaid|pseudoprepaid|rated>.
|
|
|
|
|
# default_category = call # Default Type of Record to consider when missing from requests.
|
|
|
|
|
# default_tenant = cgrates.org # Default Tenant to consider when missing from requests.
|
|
|
|
|
# default_subject = cgrates # Default rating Subject to consider when missing from requests.
|
|
|
|
|
# rounding_decimals = 10 # System level precision for floats
|
|
|
|
|
# http_skip_tls_veify = false # If enabled Http Client will accept any TLS certificate
|
|
|
|
|
# ratingdb_type = redis # Rating subsystem database: <redis>.
|
|
|
|
|
# ratingdb_host = 127.0.0.1 # Rating subsystem database host address.
|
|
|
|
|
# ratingdb_port = 6379 # Rating subsystem port to reach the database.
|
|
|
|
|
# ratingdb_name = 10 # Rating subsystem database name to connect to.
|
|
|
|
|
# ratingdb_user = # Rating subsystem username to use when connecting to database.
|
|
|
|
|
# ratingdb_passwd = # Rating subsystem password to use when connecting to database.
|
|
|
|
|
# accountdb_type = redis # Accounting subsystem database: <redis>.
|
|
|
|
|
# accountdb_host = 127.0.0.1 # Accounting subsystem database host address.
|
|
|
|
|
# accountdb_port = 6379 # Accounting subsystem port to reach the database.
|
|
|
|
|
# accountdb_name = 11 # Accounting subsystem database name to connect to.
|
|
|
|
|
# accountdb_user = # Accounting subsystem username to use when connecting to database.
|
|
|
|
|
# accountdb_passwd = # Accounting subsystem password to use when connecting to database.
|
|
|
|
|
# stordb_type = mysql # Stor database type to use: <mysql>
|
|
|
|
|
# stordb_host = 127.0.0.1 # The host to connect to. Values that start with / are for UNIX domain sockets.
|
|
|
|
|
# stordb_port = 3306 # The port to reach the logdb.
|
|
|
|
|
# stordb_name = cgrates # The name of the log database to connect to.
|
|
|
|
|
# stordb_user = cgrates # Username to use when connecting to stordb.
|
|
|
|
|
# stordb_passwd = CGRateS.org # Password to use when connecting to stordb.
|
|
|
|
|
# stordb_max_open_conns = 0s # Maximum database connections opened
|
|
|
|
|
# stordb_max_idle_conns = -10 # Maximum database connections idle
|
|
|
|
|
# dbdata_encoding = msgpack # The encoding used to store object data in strings: <msgpack|json>
|
|
|
|
|
# rpc_json_listen = 127.0.0.1:2012 # RPC JSON listening address
|
|
|
|
|
# rpc_gob_listen = 127.0.0.1:2013 # RPC GOB listening address
|
|
|
|
|
# http_listen = 127.0.0.1:2080 # HTTP listening address
|
|
|
|
|
# default_reqtype = rated # Default request type to consider when missing from requests: <""|prepaid|postpaid|pseudoprepaid|rated>.
|
|
|
|
|
# default_category = call # Default Type of Record to consider when missing from requests.
|
|
|
|
|
# default_tenant = cgrates.org # Default Tenant to consider when missing from requests.
|
|
|
|
|
# default_subject = cgrates # Default rating Subject to consider when missing from requests.
|
|
|
|
|
# rounding_decimals = 10 # System level precision for floats
|
|
|
|
|
# http_skip_tls_veify = false # If enabled Http Client will accept any TLS certificate
|
|
|
|
|
# tpexport_dir = /var/log/cgrates/tpe # Path towards export folder for offline Tariff Plans
|
|
|
|
|
# xmlcfg_path = # Path towards additional config defined in xml file
|
|
|
|
|
|
|
|
|
|
[balancer]
|
|
|
|
|
@@ -132,10 +133,10 @@
|
|
|
|
|
# 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.
|
|
|
|
|
# min_dur_low_balance = 5s # Threshold which will trigger low balance warnings for prepaid calls (needs to be lower than debit_interval)
|
|
|
|
|
# low_balance_ann_file = # File to be played when low balance is reached for prepaid calls
|
|
|
|
|
# empty_balance_context = # If defined, prepaid calls will be transfered to this context on empty balance
|
|
|
|
|
# empty_balance_ann_file = # File to be played before disconnecting prepaid calls on empty balance (applies only if no context defined)
|
|
|
|
|
# min_dur_low_balance = 5s # Threshold which will trigger low balance warnings for prepaid calls (needs to be lower than debit_interval)
|
|
|
|
|
# low_balance_ann_file = # File to be played when low balance is reached for prepaid calls
|
|
|
|
|
# empty_balance_context = # If defined, prepaid calls will be transfered to this context on empty balance
|
|
|
|
|
# empty_balance_ann_file = # File to be played before disconnecting prepaid calls on empty balance (applies only if no context defined)
|
|
|
|
|
# cdr_extra_fields = # Extra fields to store in CDRs in case of processing them
|
|
|
|
|
|
|
|
|
|
[opensips]
|
|
|
|
|
|