Next Topic

Previous Topic

Home

Book Contents

Book Index

Format field descriptions

The following table details the various fields found in the Standard SMDR output.

If a field is marked with an asterisk (*) then the field is either required, or required where the PABX or phone system supports the feature.

If a field is blank or optional the separator character is still required. Do not surround fields with quotes. This is not strictly a CSV format. A comma is the only allowed separator.

Field
Number

Field Name

Max Length

Description

1
Sequence number*
33
A repeating sequence of number for each call record line. Typically this would be a 4 digit number that rolls over to 0001, after it reaches 9999. It may however be a line number in a page, where the page has a header that is ignored by MonTel. It may also be a positive integer increasing to the maximum value of a 32bit signed word.
This number does need to be generally increasing, however, it can be out of order where the order reflects the start time or of the call rather than the end. It does need to be strictly increasing where the order reflects the time of the generation of the call record. However in all cases it can skip numbers. For example a system might generate a sequence number that never ends up being exported in a call for example that failed to connect.
This must be in digits.
This field is required.
MonTel does not record this field.
 
2
Connection tracking number
33
A number that corresponds to the Sequence number of the previous call record line, if this call record line is not the first call record line. In this way a call record can be tracked with a call record line for each part of the call, for example from the start of call, through transfer, to the end of call.
If the call record line is the first line for the call record then the Connection tracking number should equal the Sequence number.
If this number is not zero, then it should be either the sequence number if it is the first or only call record exported for that call, or the sequence tracking number of the previous call record of that call.
This must be in digits.
This field is optional.
 
3
Condition code direction*
4
Three characters use to specific the type of call record line.
This item is further broken down into 4 item corresponding to each character position:
  1. Position; E (The default, only, end or last record line in a call record), S (Start of call record), and C (continuation of call record).
  2. Extent; I (internal), E (external) or N (not applicable)
  3. Direction; either I (incoming), O (outgoing), W (Warning), or E (Error).
  4. Qualifier; N (normal default), A (Not answered), V voice mail, T (transferred), E (Data), D (direct in-dial), S (DISA) B (Barred), C (Conference), U Buffer overflowed, L All external lines busy, X (system error).
The first 3 characters are required, and must be be one of the characters specified for their respective positions above.
The fourth character is optional, and is not present is assumed to be N.
Legal combinations include: EEON or EIIT or SEI. There are 27 combinations of the first 3 compulsory characters, however not all of them are legal.
An illegal combination would be ENIN, because an incoming call must be either internal or external.
This field is required.
 
4
Trunk route number*
4
The number of the trunk route, which might be ISDN or PSTN, or groups of trunk lines associated with an ISDN PRA. For example ISDN might be 0, and PSTN 1.
This must be in digits.
Required where the system supports this feature, and an external call is taking place. This number should be 0 for an internal call.
 
5
External trunk line number*
4
The specific external line number grabbed for this call (This must be in digits). This would be blank if the the call was not an external call.
Required where the system supports this feature, and an external call is taking place..
This number should be 0 for an internal call.
 
6
Station Type
1
A character to show the type of station: O (Switch board Operator), E (extension), D (device), F (fax device) or M (Internal PABX modem).
This field is optional. If blank then E is assumed.
 
7
Station number*
5
The Station number must be in digits.
This field is required.
 
8
Transferred station
5
Station number from which the call was transferred. While this field is stored by MonTel, it is currently not used. This field is a reference field to assist in tracking issues.
This field is optional. If present this must be in digits.
 
9
Number Dialled*
20
Outgoing: Number entered by the user at the hand set, not including digits dialled to get and external line or enter an account code. This must be in digits.
Incoming: CND or CLI incoming number or blank. This must be in digits.
Error or Warning: The error description. This can include alpha characters. The call record line will not be stored by MonTel, however the error message will be recorded in the MonTel log, and or displayed on the screen.
This field is required.
 
10
Date and time of start of call*
20
The format of the date time follows the ISO 8601 standard, for example; 2004-10-30T23:30:11.
This field is required.
11
Date and time of end of call*
20
For the format of the date time (see Date and time of start of call above). The duration of the call is calculated in MonTel by subtracting the Date and time of start of call from Date and time of end of call.
This field is required.
 
12
Account/pin number entered (dialled)*
9
Pin number entered into the handset to be able to obtain an outside line number. This field should be blank if not present.
Required where the system supports this feature, and the feature has been used.
 
13
Account code auto assigned
9
Account code assigned by the system to the number.
This field is optional.
 
14
pulse count if any
4
Metered Pulse count for the call record. Recorded but not used by MonTel.
This field is optional.
 
15
Cost from telephone exchange or PABX (if any)
6
The format is DDD.CC where DDD is dollars (or pounds) and CC is cents.
This field is optional.
 
16
PABX number (for more than one pabx)
1
A number showing which PABX is used if there is more than one PABX.
This field is optional.
 
17
PABX unit number (more than one unit or part of a pabx)
1
The number of the module of a PABX which has been split into modules.
This field is optional.
 
18
Ring in time.
3
Number of seconds taken to answer an incoming call (or the number of seconds that it rang if not answered).
This should be blank for non incoming calls.
This field is optional.
 
19
Spare
4
Information that is PABX specific.
This field is optional.
 
20
Number connected
80
Outgoing: Actual number connected rather than dialled. This can be a SIP address. This field is a reference field to assist in tracking issues. This field is not stored by MonTel.
Incoming: Actual number dialled. This can be a SIP address. This field is a reference field to assist in tracking issues. This field is not stored by MonTel.
Error or Warning: See Number Dialled above.
This field is optional.
 
 
End of record line
2
Carriage return or line feed or both.
This field is required.
 

------------------------------