An SMDR record is generated at the end of each call between two devices on the system. Devices include extensions, trunk lines (or channels on a trunk), voicemail channels, conference channels and system tones.
SMDR records are only produced for calls which are presented to another device or a barred short code. For example, an internal user dialing a short code that simply changes a setting does not produce a SMDR record.
SMDR records are generated when each call or call leg ends. Therefore the output order of the SMDR records does not match the call start times.
Each record contains a Call ID :
The Call ID starts from 1,000,000 and is reset back to that value following each system restart.
The Call ID is increased by 1 for each subsequent new call.
When a call moves from one device to another, separate SMDR records are output each part of the call. Each of these records has the same Call ID.
Each record indicates in its Continuation field whether there are further records for the same call.