SMDR, or Station Messaging Detail Record, is the data sent by a PBX, or PABX, about
a telephone call to a computer or other device for storage and reporting.
This information is usually accessed via call accounting software.
SMDR data has information such as:
- The date and time of the call
- The duration of the call
- The telephone extension involved
- The trunk line involved
- The direction of the call, inbound or outbound
- The manner in which the call was completed, for example ring out
- The number dialed - for outbound calls
- Caller id - for inbound calls, this is the phone number that called the PBX
- DDI - for inbound calls, this is the phone number that was dialed
- Account code - an indication that the call was involved with a specific project
- Authorization code - used to gain access to telephone line or class of service,
for example long distance
- Ring time - the duration the phone rang before being answered
There may be multiple SMDR records associated with a single telephone call as the
call is transferred from one extension to another or is handled by an auto-attendant.
A single SMDR record may be represented by one or more lines of text. Simple SMDR
records may look like the following:
2017-02-24 07:56:52 04:34 O 103 03 5558360
2017-02-24 07:57:14 02:58 O 104 09 5553013
2017-02-24 07:58:22 01:20 I 00:02 106 06
2017-02-24 07:58:31 00:37 O 109 09 5554709
2017-02-24 07:58:54 04:27 I 00:04 108 05
The SMDR port on a PBX may be connected to a computer running call accounting software.
As each record is received by the call accounting software is it stored in a database
for later reporting.
Call accounting reports may be a simple chronological list of calls, detail reports
of call traffic about specific telephone extensions or trunk lines, total reports
over periods, graphical or other variations.
Simple call accounting applications may run as a program requiring a user to be
logged on to a computer. More appropriate applications might run as a program or
service in the background. Both these types of applications must maintain database
performance by running regular indexing and optimization automatically or by a user.
Database backups must also be maintained by users.
Newer call accounting applications are available as software-as-a-service, or as
cloud computing applications. In these applications the only software that runs
at the customers' location is a small data collection program that sends SMDR call records
to a remote data center and reports can be run from a standard web browser.
A cloud based SMDR call accounting program might look like this one.