# SMDR - Recorded Information

SMDR call data is recorded in table format. Each call record consists of a single line of data 90 characters in length (101 characters in length if extended digit length is enabled in the SMDR Options form). If ANI/DNIS is enabled, then a single line of data will extend to 112 and 120 characters. The table is divided into fields which provide information on the call. The SMDR records provide information about the following items:

- account codes

- call start time

- calling party

- called party

- call duration

- digits dialed (maximum 26 digits)

- meter pulses (optional) - external SMDR only

- ANI/DNIS reporting (optional) - external SMDR only

- outgoing and incoming trunk numbers - external SMDR only

- hardware identifier

- long call identification

- time to answer incoming external calls - external SMDR only

- identifies the second station in a transfer or in a conference

- identifies conferences and transfers

- identifies trunks involved in route optimization - external SMDR only

- indicates when an attendant was involved in the call

- call completion status (for example, called number busy).

NOTE: When a Hot Desk user is logged into a device, the SMDR reports will reflect the Hot Desk user's DN, not the registration DN. When no one is logged in, the reports will reflect the registration DN. For emergency calls made from a logged in Hot Desk user's DN, SMDR will indicate the call originating from the Hot Desk user's DN with the CESID of the registration DN associated with the Hot Desk.

The Summary of Fields table provides the location of each field within the record and the meaning of the symbols that are used. The following paragraphs describe each field in an SMDR data record. Descriptions of the extended digit length and the network format options are included.

Long Call (z). This field is blank ( ) for a call duration of less than 5 minutes, shows a dash ( - ) for calls of 5 to 9 minutes 59 seconds, shows a percent symbol (%) for calls of 10 to 29 minutes 59 seconds, or shows a plus symbol (+) for calls of 30 or more minutes. This field is particularly useful when you are visually scanning records for calls of a particular length.

Date (mm/dd). The date is reported numerically as a 2-digit month followed by a 2-digit day. The year is not reported.

Start Time (hh: mmp) - Level 1 enabled
Start Time (hh:mm:ssp) - Level 1 and Level 2 enabled
The start time of a call is reported in hours and minutes in either a 12- or 24-hour format. If a 12-hour clock is used, the letter "p" indicates P.M.

Duration of Call (hh:mm: ss). Duration of a call is reported in hours, minutes and seconds. Leading zeros are output (Maximum time = 99 hours, 59 minutes, 59 seconds). If the call duration exceeds 100 hours, a call duration of 99 hours, 99 minutes, 99 seconds will be recorded.

Calling Party (pppp). This is the identity of the party that originated the call. It may be a station, an attendant, or an incoming trunk, as described below:

- Station Number as Calling Party (cccc). A station number may be one to four digits (0-9, ?, #) which are left-justified; i.e., no leading zeros.

- Attendant as Calling Party (ATTm). Calls originated by an attendant that do not involve a third party are reported as a calling party by ATT followed by the console number. When the console number is in the range of 10 through 99, the format is modified to be ATmm. If an attendant calls an outside party on behalf of a station or trunk, that station or trunk is reported as the caller but the attendant flag symbol "?" appears in the "Attendant was Involved" field.

- Trunk Number as Calling Party (Tnnn or Xnnn). When the originating party is an incoming CO trunk, " Tnnn" appears on the record (where " nnn" is the number of the trunk). If the trunk number is less than 3 digits long, it is left-padded with zeros. If the extended digit length option is enabled, the trunk number " nnnn" may be up to four digits long, left-justified, and without leading zeros. When the originating party is an incoming non-CO trunk, " Xnnn" appears in the trunks record.

The "T" or "X" ensures that CO trunks and CO Attendant trunks can be distinguished from tie trunks; however, any trunk with the Public Trunk COS option set to "Yes" is reported as a CO trunk. The trunk number is the trunk ID specified in the Trunk form.

Attendant (f). This 1-digit field contains an asterisk (?) when a call is assisted by, or initially answered by, an attendant. This flag will not appear if a call is transferred to an attendant. If the Extended Time To Answer option is enabled in the SMDR Options form, this field is shifted to the left by one column.

Time to Answer (ttt) or (tttt). This is the number of seconds from the time an incoming external call rings the destination until the call is answered. If a call is never answered, this field displays *?*. Leading zeros are output and the field remains at 999 when an overflow is reached. If the Uniform Call Distribution (UCD) feature is programmed, and the MCD - Report Transfers option is enabled, this field contains the total time to answer regardless of the number of times the call is rerouted. This field does not apply to Internal SMDR. If the Extended Time To Answer option is enabled, this field is expanded to 4 columns and remains at 9999 when an overflow is reached.

Digits Dialed (xx...x). External SMDR: The external SMDR application records the digits dialed on the outgoing trunk. A maximum of 26 digits is recorded. This number is reduced to 20 when the 'Report Meter Pulses' option is selected. This field does not include the trunk group access code on outgoing calls. The digits recorded are the actual digits outpulsed on the trunk after digit modification has been performed. On incoming calls, the digits dialed in on the trunk are recorded. When more than 26/20 digits are dialed, the remaining digits are ignored.

If the MCD option is enabled, each device is listed whenever the call is rerouted, rather than the last device as in non-MCD loads. To reflect the MCD option, the Digits Dialed on the Trunk field shows dd1 ddd2 ddd3.

Internal SMDR : The Internal SMDR application records the digits dialed on an internal line. Up to 26 digits are recorded.

Meter Pulses (mmmmm). The number of reversals (for example, meter pulses) received from an outgoing trunk can be recorded when this option is selected. The range is 0 to 64000. Leading zeros are output. The maximum number of digits recorded reduces from 26 to 20. The trunk group must be programmed for "Answer Supervision". This field is not used for internal SMDR.

Call Completion Status (h) External SMDR (Outgoing Calls): This reports the completion status of an outgoing call in so far as the system is able to determine it. When an outgoing call fails toll-deny checking and is dropped, this field contains a "T". When the trunk group is programmed to receive "Answer Supervision" and a supervision is received, an "A" is reported. When the trunk group is programmed for "Toll Reversal" and a supervision is received, a "T" is reported.

External SMDR (Incoming Calls): The system can monitor the outcome of a call and can provide a comprehensive report on call completion. When the station or hunt group to which a call is directed is busy, a "B" is recorded. When an incoming trunk accesses an invalid number and receives reorder tone, an "E" is reported. An "E" is also reported for incomplete calls. A "T" is reported if the incoming trunk is answered with Trunk Answer From Any Station (TAFAS) and if an outgoing trunk call is toll denied, or if the call is Pickup answered. When an incoming call is forwarded by an attendant to a busy station, a "B" appears in the call completion status field, the number called appears as the third party, and the Attendant appears as the called party.

Internal SMDR. An "I" indicates that an internal call was completed.

Speed Call or Call Forward Flags (S or F). This field contains an "S" when the number is a System Speed Call or Personal Speed Call, and an "F" when an external call is forwarded through the external call forward feature.

If Internal SMDR is enabled, an "F" is also recorded when an internal call is forwarded through the call forward feature. However, for internal calls the Third Party field does not contain the number of the station that initiated the call forward feature. The Third Party field is left blank because the Digit Dialed field identifies the station that has call forward enabled.

In summary, for Internal SMDR - both internal forwarding to stations and external party forwarding are flagged. For an external call, the flag is only shown if the call is forwarded externally on a trunk.

Called Party (qqqq). A called party can be a station number, an attendant, or for outgoing calls, the outgoing trunk number. The Called Party output format is identical to that used for the Calling party; see Calling Party (pppp). For incoming calls to an attendant, the called party is recorded as the attendant unless the attendant transfers a call to a station. For direct-in-lines, it would be the station number. On outgoing calls handled by an attendant, the called party would be the outgoing trunk's ID. If an IP Trunk is used, X9999 appears in this field.

Transfer/Conference Call (K). This field identifies calls involving three or more parties. It contains a "T" for supervised transfers, "X" for unsupervised transfers (i.e., transfer into busy reports a "T", transfer into ringing reports an "X") and a "C" for 3-way conversations or conferences.

MCD Transferred Calls. If the MCD - Report Transfers option on the SMDR Options form is set to "ALL" or "MCD", a new record is generated each time a call is transferred. The first record contains trunk number or attendant number as well as the following information:

- Transfer/Conference (66 or 74): T, X or C

- Third party field (68-71 or 76-82): Lists destination device for transferred call.

- The second and subsequent numbers include:

- Calling Party field (24-27 or 26-32): LDN of originating device

- Called Party field (62-65 or 67-73): LDN of destination device

- Attendant transfers are reported only if the MCD Reporting option is set to "ALL".

Third Party (rrrr). The third party field contains the number of the station to which a trunk call has been transferred. When several transfers take place during a trunk call, the first party is the only one reported, as long as MCD Report Transfers = "No", and Record Transfers = No".

If an external call is made to a station whose call forwarding is set to an external number, the Third Party field contains the number of the station that initiated the call forward feature. For internal calls, the Third Party field is left blank because the Digit Dialed field identifies the station that has external call forward enabled.

Account Code (aa...a). Enabling the Report Account Codes option in the SMDR Options form allows an account code of 2 to 12 digits to be recorded if one is used to make a call. Leading zeros are reported if they are entered. When Malicious Call Trace is enabled, the Tag Call Identifier appears in this field in the MCI SMDR record.

Route Optimization Flag (s). At the starting and end nodes of a network call a flag will appear in this field if route optimization has taken place. A route optimized call involves two different trunks to the same party: the pre-optimization trunk and the post-optimization trunk. An SMDR record will be generated for both trunks, which will be distinguished by a lower case "r" for the pre-optimization trunk, and an upper case "R" for the post-optimization trunk. Route Optimization is only available with the MSDN/DPNSS Voice IV feature. For more information, see MSDN/DPNSS features.

System Identifier (iii). This optional 3-digit field may contain values from "000" to "999". "000" indicates that no identifier has been entered. In the absence of a System Identifier, a Node Identifier is printed (when programmed). When more than one node identifier exists, the first one on the programmed list is printed. When both a System ID and a Node ID are programmed, the System ID takes precedence. Programming of System Identifiers and Node Identifiers is described in the Program System volume.

ANI/DNIS. (xx........ xxxxxxx). ANI/DNIS digits are recorded in this field. ANI and DINS numbers can be up to 10 digits in length, and are recorded for incoming calls on ANI/DNIS trunks. COS option ANI/DNIS reporting must be enabled.

With the Extended Digit Length option enabled in the SMDR Options form, the following fields will be affected:

Duration of Call (hhhh:mm: ss). Maximum time is 9999 hours, 59 minutes, 59 seconds. If call duration exceeds 10000 hours, a call duration of 9999 hours, 99 minutes, 99 seconds will be recorded.

Calling Party (ppppppp). With the extended digit length option enabled, the station number may be up to seven digits long and the trunk number may be up to four digits long, as described below:

1. Station Number as Calling Party (ccccccc). A station number may be up to seven digits long.

2. Trunk Number as Calling Party (Tnnnn or Xnnnn). With the extended digit length option enabled, the trunk number " nnnn" may be up to four digits long, left-justified and without leading zeros.

Called Party (qqqqqqq). The Called Party output format is identical to that used for the Calling Party. With the extended digit length option enabled, the station number may be up to seven digits long and the trunk number may be up to four digits long.

Third Party (rrrrrrr). The format is identical to that of the calling party. With the extended format option enabled, the station number may be up to seven digits long and the trunk number may be up to four digits long.

With the network format option enabled in the SMDR Options form, the Digits Dialed on the Trunk field will be affected as follows:

Digits Dialed on the Trunk (x...x y... y) or (Tx...x y... y). For DPNSS and APNSS calls with the Network Format option in the SMDR Options form enabled.

x...x (up to 14 digits) is the calling party's node ID (up to 7 digits) and extension number (up to 7 digits). y... y is the actual digits dialed on the trunk. The x...x and y... y numbers are separated by a blank.

Tx...x is the originating node ID of the incoming DPNSS/APNSS trunk call followed by the trunk number. Note that the "OLI Node ID Format for Incoming Trunk Calls" option in the SMDR Options form must be set to "Yes".

If any digit of the calling party's node ID and extension number is not a telephony digit (i.e., 0-9, ?, #), an "?" (asterisk) will be substituted.

ANI/DNIS Numbers (a...a d... d). If the system receives more than seven DNIS digits for an incoming call, only the seven right most digits appear in the extended SMDR report. The remaining digits are not recorded. For example, if the system receives the DNIS number 70355551212, only 5551212 is recorded.

When the Standardized Network OLI option is enabled in the SMDR Options form, all SMDR events associated with a single call through the network are associated using the Network OLI reported in the ANI portion of this field. The format depends on the originator of the call:

ANI and Extension format - can be differentiated by the appearance of the calling extension in ANI format and the Network OLI in Extension format.

aaaaaaaaaa (ANI format) where one of an ANI digit, 0 to 9, #, or * is used. For example, 6135922122.

sssxxxxxxx (Extension format), where the system identifier (sss = 0-9) is followed by the extension number (xxxxxxx = 0-9.). For example, 6406501. Leading zeros in both the system identifier and extension number are suppressed, and the extension number is left justified.

Tssscccc (Trunk format), where T is the trunk format identifier, sss is the system identifier (0-9, where leading zeros are suppressed), and cccc is the trunk number (0-9, where leading zeros are suppressed and the trunk number is left justified). For example, T6405.

Call Identifier (pssscccc). This 8-digit field records all SMDR events associated with a single call through the network. Identifier numbers are subject to roll over (calls can then be identified by time elapsed). A leading letter (x = "A" to "Z") is followed by the system identifier (sss = 0-9) and the call number (cccc = 0-9). For example, R6300001. Leading zeros in the system identifier and call number are reported as zeros.

Call Sequence Identifier (s). The call sequence identifier begins with "A" on the first SMDR event associated with a particular call. It increments (from "A" to "Z") with each SMDR event as the call progresses, without roll over. For example, "C" indicates the third SMDR event for a specific call.

Associated Call Identifer (pssscccc). This 8-digit field records the call identifier of the previous call which is associated with the current call (for example in the case of a transfer, conference, call pickup, etc.). It is used to correlate all SMDR events associated with a series of related calls. A leading letter (p = "A" to "Z") indicates the associated plane: odd letters represent plane A and even letters represent plane B. The system identifier (sss = 0 to 9) is followed by the call number (c = 0 to 9). For example, E6300001. Leading zeros in the system identifier and call number are reported as zeros. The call number may roll over.