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:
2014-04-20 17:45:32 00:01:05 O 103 04 5553994
2014-04-20 17:45:54 00:01:48 I 00:05 102 09
2014-04-20 17:47:02 00:02:59 I 00:01 108 06
2014-04-20 17:47:11 00:01:43 O 101 02 5553558
2014-04-20 17:47:34 00:01:26 O 100 03 5555175
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.