Skip to content

digineo/3cx-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3CX to InfluxDB

This script aggregates call data records (CDRs) by SIP-Trunk and destination. The result is written to InfluxDB for further processing like drawing fancy graphs in Grafana.

The records are aggregated by:

  • Direction (incoming/outgoing/internal)
  • Gateway (the SIP-Trunk)
  • Outgoing area code

This script has been tested with 3CX version 15.5

Dependencies

Install the required Debian/Ubuntu packages:

apt-get install python3-postgresql python3-yaml python3-requests

Configuration

Adjust the call_logs.yml to fit your needs.

Running

Just start the script and pass the path to the configuration file:

./call_logs.py call_logs.yml

About

Aggregation of 3CX call data records (CDRs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages