Topic Last Modified: 2011-02-03

The call detail recording (CDR) database schema consists of the following tables.

Static Tables

Table Description

CallPriorities Table

Stores the list of possible call priorities, such as emergency, urgent, normal, non-urgent, and more.

DeRegisterType Table

Stores the list of possible user de-register reasons, such as "client initiated," "registration expired," "client crash," and more.

MediaList Table

Stores the list of media types that can generate entries in the database (for example, IM, audio, video, and file transfer).

Roles Table

Stores the list of possible conference roles (for example, attendee and presenter).

Supporting Tables

Table Description

ClientVersions Table

Stores the clients (both client type and version number) of each client involved in a call with information captured in this database.

ConferenceUris Table

Stores a list of ConferenceURIs that are used in conference related calls.

ContentTypes Table

Stores a list of Session Initiation Protocol (SIP) content types that are used in both peer-to-peer calls and conference calls.

Devices Table

Stores a list of devices, including their manufacturer, hardware version, and MAC address.

Dialogs Table

Stores information about the Dialog ID for each session in the database.

EdgeServers Table

Stores a list of Edge Servers that are used for external calls.

Gateways Table

Stores a list of Gateways that are used for Voice over Internet Protocol (VoIP) calls.

HardwareVersions Table

Stores a list of hardware versions of devices (desk phone).

Manufacturers Table

Stores a list of manufacturers of devices (desk phone).

Mcus Table

Stores information about the various A/V Conferencing Servers and their URIs.

MediationServers Table

Stores a list of Mediation Servers that are used for VoIP calls.

Phones Table

Stores all the phone numbers used in VoIP calls that were archived or whose call details were recorded.

Pools Table

Stores the names of the pool on which IM messages are captured.

Servers Table

Stores the name of servers involved in calls.

Tenants Table

Stores the tenants supported by current deployment. There some build-in tenants for Enterprise user, Federated User, public IM connectivity user, and Anonymous users.

Users Table

Stores the user URIs of users who have participated in sessions recorded or archived in this database.

Tables Specific to Conference CDR Records

Table Description

Conferences Table

Stores information about all conferences that were archived or whose details were recorded, including ConferenceURI, and start and end time.

ConferenceSessionDetails Table

Stores information about every SIP-based conference session, including start and end time, user ID, response code, and diagnostic ID for each session.

FocusJoinsAndLeaves Table

Stores information about conference joins and leaves, including users’ role and client version.

McuJoinsAndLeaves Table

Stores information about the A/V Conferencing Servers that are involved in a conference and the user join and leave times.

Tables for Messages in IM Conferences

Table Description

ConferenceMessageCount Table

For each IM conference, stores the number of messages that were sent by each user.

Tables for Peer-to-Peer Sessions

Table Description

SessionDetails Table

Stores information about every peer-to-peer session, including start and end time, user ID, response code, and message count for each user.

FileTransfers Table

Stores information about file transfer sessions, including file name and result (accepted, rejected, or canceled).

Media Table

Stores information about the different media types involved in peer-to-peer sessions.

Table for VoIP Call Details

Table Description

VoipDetails Table

For each two-party VoIP/PSTN call, stores information about the call, such as the phone ID of VoIP phone, gateway used, and which party disconnected. Refers to the SessionDetails Table for call start/end times and response code.

Note:
If one party on a call is a VoIP user or if a Mediation Server was involved in the call, a record will be created in this table. Information about VoIP/VoIP calls not involving a public switched telephone network (PSTN) phone is captured in the SessionDetails Table.

Table for E9-1-1 Call Auditing

Table Description

Locations Table

For each emergency call, such as an Enhanced 9-1-1 (E9-1-1) call, stores location information about the call. Refers to the SessionDetails Table for call start/end times and response code.

Note:
This table only contains the location blob for the E9-1-1 call. Refers to the SessionDetails table for other detailed information about the call.

Tables for Troubleshooting

Table Description

Application Table

Stores information about various processes within Microsoft Lync Server 2010 that are involved in routing and connections.

CallType Table

Stores information about types of the call, such as, “audio”, “Instant Messaging”, “audio and video” and “application sharing”.

ErrorDef Table

Stores information about types of errors and their definitions.

ErrorReport Table

Stores information about errors that have occurred.

ProgressReport Table

Stores information about the progress reports of various steps involved in Lync Server 2010 processes.

The tables in the following list are used internally by Lync Server. Their details are not described in this document.

Tables for Internal Use by Lync Server

Table Description

DbConfigDateTime

For internal use only.

DbConfigInt

For internal use only.

DbErrorMessage

For internal use only.

UserStatistics

For internal use only.

SummaryTableConfiguration

For internal use only.

UsageSummary_UQ

For internal use only.

UsageSummary

For internal use only.

DaylightSavingYears

For internal use only.

TimeZoneConfiguration

For internal use only.

TimeZones

For internal use only.

FailureSummary_UQ

For internal use only.

FailureSummary

For internal use only.

ServerSummary

For internal use only.

MsDiagMetaData

For internal use only.