MDR-2000 VJ User's Reference Manual
Data Collection
Ring
Time: The ring time,
if
present, will always be the first field in the digits dialed.
It
can be
detected by the presence
of
a '
T'
which is followed by the 3 digit ring time in seconds.
If
no
'T'
is
detected as the first character then there
is
no ring time field. Ring time is always reported
if
supported by the PBX.
Account
Code: The account code is separated from the digits dialed by an '
#'.
The position
of
the
account code may vary, and its presence is optional, therefore the downstream processing system
must parse the digits field for the
'#'
and following digits.
Authorization
Code: The authorization code is separated by a
'A
'. The position
of
the authoriza-
tion code may vary, and its presence is optional, therefore the downstream processing system must
parse the digits field for the '
A'
and following digits.
Calling
Line
Identification: The calling line identification is denoted by a
'D
'. The position
of
the calling line identification may vary, and its presence is optional, therefore the downstream
processing system must parse the digits field for the
'D
' and following digits.
Fields are defined by their starting position in the record, the length in bytes and the type. Types are
one
of
the following:
A Alphabetic character (A through Z).
9 Numeric field (digits 0 through 9 and '. '
).
T Time field in the format 'hhmmss'.
D Date field in the format
'ddmm'.
Variable
Fields: There is potential for other fields to be included in some models
of
the MDR-
2000 and in data streams used
as
input to downstream processing. To facilitate these fields the
'I'
designator in the Digits Dialed field has been employed.
If
an
'I'
is detected in the Digits Dialed field it will be followed by an indicator from 'O' to
'9
'. The
indicator specifies the type and length
of
the data to follow. Several indicators have been
implemented as
of
this writing, as follows:
When '
IO
' is detected in the Digits Dialed field the three digits following it are the
Hold
Time
for
the call. For example,
if
the string 'I0002' is found in the Digits Dialed field then this call has been
on
hold for 2 seconds.
When 'II ' is detected in the Digits Dialed field the three digits following it are the
Extended
Duration
Hours
digits for calls 100 hours and longer. These three digits concatenated with the
3-4