bg

LG GDK-162 SMDR setup and CDR format

This page shows how to get call records out of the LG GDK-162 into Advanced PBX Data Logger: the connection settings, the parser to select and the 12 fields the logger extracts for reports or a database. The settings apply to our logger; other call accounting software may expect a different configuration.

Quick facts

ItemLG GDK-162
InterfaceSerial. The SMDR or printer port of the PBX is connected to a COM port; speed, data bits, parity and flow control must match the PBX.
Parser to selectLG GDK-162
Fields extracted12
Other LG systemsLG and GoldStar SMDR formats: GHX, Starex, CS-1000

Pinout and wiring

PBX (9 pin)PC (9 pin)PC (25 pin)
2 (TXD)2 (RXD)3 (RXD)
3 (RXD)3 (TXD)2 (TXD)
5 (GND)5 (GND)7 (GND)

If the switch #2 on the MPB board is OFF then you should use a cable with the CTS wiret. Default COM port parameters: 8-N-1
To outputs call records you need to use the PGM62 program.
PROG BUTTON 2 - output on/off.
PROG. BUTTON 4 - output of incoming calls on/off.
PROG. BUTTON 6 - COM port baud rate

Configuring a COM port

The COM port number should match the number in your system. You can check the correct port number in Devices Manager → Ports.

1. Add a new configuration with the RS232 data source (if you didn't it before).

RS232 Interface

2. Select the COM port and configure the communication settings for your PBX corresponding to your PBX settings.

RS232 or COM port settings for LG GDK-162
Port flow control settings LG GDK-162

Selecting the correct parser for LG GDK-162

Parser Selection For PBX Data Logger

LG GDK-162

LG GDK-162

Data items

DescriptionData typeColumn name
StationstringFLAG2
ExternalstringEXT
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
Call timedatetimeCALL_TIME
Call typestringCALL_TYPE
DirectionstringDIRECTION
PhonestringDIALED_PHONE
ActstringFLAG3
CountstringFLAG4
CostfloatCOST
Account codestringACC

Sample record

As delivered by the system; phone numbers, names and public addresses are masked.

3294  116 08    00:39 11/26/02 10:18 I RING 00:10
3295  120 06    00:23 11/26/02 10:18 O151xxxx            ** 
3296  140 15    02:11 11/26/02 10:17 O925xxxx            ** 

Reports and a database

Once records arrive, the logger writes them to a text file or to any ODBC database in real time, or hands them to the PBX Reports utility for manual, scheduled and e-mailed reports with a built-in web server. See exporting call log data to a database for the database setup.

Related LG systems

LG GDK-100
LG Ericsson IPECS MFIM50A
LG GHX-1232
LG GHX-46
LG and GoldStar SMDR formats: GHX, Starex, CS-1000
All supported PBX systems

Note: Products and companies mentioned here are used only for definition and identification purposes and can be trademarks and/or registered trademarks of the respective companies.