Specifications

Call Detail Record Reports
C – 58 ShoreTel, Inc.
PortNumber Number Port number for this party. It is the physical port or channel
number on the ShoreTel switch. The number is 0 if the party is a
workgroup, voice mail or an unassigned user. (2-byte integer,
required)
PortID Number Port ID for this party (if any). A unique ID assigned to the
ShoreTel switch port by the configuration database. This
information is only visible in the database and not available
through Director. The number is 0 if the party is a workgroup,
voice mail, or an unassigned user. (4-byte integer, required)
PortName Text Name of the port (Trunk or Extension) defined by the user in
Director. (50 characters, zero-length)
GroupID Number Unique ID assigned by the configuration database. For
PartyType=Trunk a TrunkGroupID and for PartyType=Station it
is a UserGroupID. The ID will be 0 if it is not applicable. (4-byte
integer, required)
GroupName Text Name of the User-Group for PartyType=Station, or Trunk-Group
for PartyType=Trunk. This information is defined by the user in
Director. (50 characters, zero-length)
ConnectTime Date/Time The time when the party was added to the call. For the initial
parties on an inbound call, this is when the trunk has been
seized. For the initial parties on an outbound call, this is when
the user has completed dialing. (8-byte date/time)
ConnectTimeMS Number This information should be appended to the ConnectTime to get
the absolute start time down to the milliseconds of when the call
began (milliseconds). (2-byte integer)
DisconnectTime Date/Time Time when this party disconnected from the call. (8-byte date/
time)
DisconnectTimeMS Number This information should be appended to the DisconnectTime to
get the absolute end time down to the milliseconds of when this
party disconnected from the call (milliseconds). (2-byte integer)
ConnectReason Number Reason for the connect. See ConnectReason definition below.
(1-byte integer, required)
DisconnectReason Number Reason for the disconnect. See Disconnect Reason table below.
(1-byte integer, required)
PartyIDFlags Text Caller ID flags that describe what information is available in the
ID and Name fields. For an internal party it shows the number,
name, and last name from the System address book. For an
external party the information corresponds to the caller ID field
provided by the PSTN. For details on Flag types for external
calls, see PartyIDFlags description below. (1-byte integer,
required)
PartyID Text Party ID (Number). (50 characters, zero-length)
PartyIDName Text Party ID (Name). (50 characters, zero-length)
PartyIDLastName Text Party ID (Last Name) This will always be blank for an external
party. PartyIDName contains both the first and last name of the
external party provided by the PSTN Caller ID service. (50
characters, zero-length)
CtrlPartyIDFlags Number Controlling caller ID flags for the ID and Name fields. Refer to
the PartyIDFlags for further detail. Control-Party is the party
that caused this event to occur.
For example, if an entry contains a call where the partyID is
extension 300 and it was a call that was transferred from
extension 400, extension 400 would be the controlling party.
The original call will not have a control party. (1-byte integer,
required)
CtrlPartyIDName Text Controlling Party ID (Name). (50 characters, zero-length)
CtrlPartyIDLastName Text Controlling Party ID (Last Name). (50 characters, zero-length)
Field Name Data Type Description