diff --git a/data/conf/cgrates.cfg b/data/conf/cgrates.cfg index 9ae6d61ce..b4eb67ea1 100644 --- a/data/conf/cgrates.cfg +++ b/data/conf/cgrates.cfg @@ -49,6 +49,7 @@ # enabled = false # Start the CDR Server service: . # extra_fields = # Extra fields to store in CDRs for non-generic CDRs # mediator = # Address where to reach the Mediator. Empty for disabling mediation. <""|internal> +# cdrstats = # Address where to reach the cdrstats service: [cdre] # cdr_format = csv # Exported CDRs format diff --git a/data/conf/samples/osips_cdrs_cdrstats.cfg b/data/conf/samples/osips_cdrs_cdrstats.cfg new file mode 100644 index 000000000..2d8666b7e --- /dev/null +++ b/data/conf/samples/osips_cdrs_cdrstats.cfg @@ -0,0 +1,58 @@ +# Real-time Charging System for Telecom & ISP environments +# Copyright (C) ITsysCOM GmbH +# +# This file contains the default configuration hardcoded into CGRateS. +# This is what you get when you load CGRateS with an empty configuration file. + +[rater] +# enabled = false # Enable RaterCDRSExportPath service: . + +[scheduler] +# enabled = false # Starts Scheduler service: . + +[cdrs] +enabled = true # Start the CDR Server service: . +# mediator = # Address where to reach the Mediator. Empty for disabling mediation. <""|internal> +cdrstats = internal # Address where to reach the cdrstats service: + +[mediator] +# enabled = false # Starts Mediator service: . +# rater = internal # Address where to reach the Rater: +# cdrstats = internal # Address where to reach the cdrstats service: + +[cdrstats] +enabled = true # Starts the cdrstats service: +# queue_length = 50 # Number of items in the stats buffer +# time_window = 1h # Will only keep the CDRs who's call setup time is not older than time.Now()-TimeWindow +# metrics = ASR, ACD, ACC # Stat metric ids to build +# setup_interval = # Filter on CDR SetupTime +# tors = # Filter on CDR TOR fields +# cdr_hosts= # Filter on CDR CdrHost fields +# cdr_sources = # Filter on CDR CdrSource fields +# req_types = # Filter on CDR ReqType fields +# directions = # Filter on CDR Direction fields +# tenants = # Filter on CDR Tenant fields +# categories = # Filter on CDR Category fields +# accounts = # Filter on CDR Account fields +# subjects = # Filter on CDR Subject fields +# destination_prefixes = # Filter on CDR Destination prefixes +# usage_interval = # Filter on CDR Usage +# mediation_run_ids = # Filter on CDR MediationRunId fields +# rated_accounts = # Filter on CDR RatedAccount fields +# rated_subjects = # Filter on CDR RatedSubject fields +# cost_intervals = # Filter on CDR Cost + +[session_manager] +enabled = true # Starts SessionManager service: +switch_type = opensips # Defines the type of switch behind: + +[opensips] +listen_udp = 172.16.254.66:2020 # Address where to listen for datagram events coming from OpenSIPS +mi_addr = 172.16.254.77:8020 # Adress where to reach OpenSIPS mi_datagram module + +[mailer] +# server = localhost # The server to use when sending emails out +# auth_user = cgrates # Authenticate to email server using this user +# auth_passwd = CGRateS.org # Authenticate to email server with this password +# from_address = cgr-mailer@localhost.localdomain # From address used when sending emails out +