Skip to content

A django project for collecting and reviewing Station Message Detail Record (SMDR) data from Private Branch Exchange (PBX) phone switches. This makes phone call accounting possible.

Notifications You must be signed in to change notification settings

fmahnke/django-pbx-smdr-accounting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Django application for storing and reporting Call Detail Record (CDR) logs from Private Branch Exchange (PBX) phone systems. The data may be retrieved using an HTTP form and filtered by date range.

It has been tested with the following PBX systems:

Inter-Tel Axxess 8520

Instructions:

django-pbx-smdr-accounting does not retrieve CDR logs from your PBX. You will need a means to retrieve CDR from your PBX. The typical way of doing this is by retrieving the call accounting data as Station Message Detail Record (SMDR) from your PBX. This is commmonly done by a RS-232 serial connection or TCP/IP.

Once SMDR is flowing from your PBX, you'll need to parse it and store the records in the django-pbx-smdr-accounting database.

To accomplish the above items, see my axxess_8520_smdr_client (also on github). It contains a simple client for gathering SMDR data from the Inter-Tel Axxess 8520 and adding it to the sqlite database.

Once the SMDR is in the database, you're ready to configure the Django application to view it.

You must customize settings.py for your configuration. In particular, you must

- Create values for PROJECT_DIRECTORY and LOG_FILE_NAME
- Create a value for SECRET_KEY (and keep it secret)

Then set it up and serve it like any other Django application.

Any feedback is appreciated! Please feel free to fork, report issues, and make pull requests on github.

About

A django project for collecting and reviewing Station Message Detail Record (SMDR) data from Private Branch Exchange (PBX) phone switches. This makes phone call accounting possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages