bg

LG and GoldStar SMDR formats: GHX, Starex, CS-1000

Advanced PBX Data Logger includes 5 parsers for LG and GoldStar systems. This page gathers them in one place. For each system you will find how the call records reach the logger, the parser to select, and the 71 fields in total that these parsers extract for PBX Reports or a database. Of these, 3 over RS-232; the rest are identified by their record layout and can arrive over a serial port or a LAN connection. The settings apply to our logger; other call accounting software may expect a different configuration.

Systems on this page

Connecting the logger

Add a data source in PBX Data Logger that matches the interface named in each section: RS232 for a serial SMDR port, TCP client when the PBX accepts connections, TCP server when the PBX pushes records to the logger, or FTP for systems that write CDR files. Then open Modules → Query Parse Filter → Data query, click Setup and select the parser named in the section. The general steps are shown on the SMDR listener page; every other supported system is listed on the supported PBX index.

LG CS-1000

Parser: LG CS-1000
Connection: Serial printer port or LAN, whichever the system uses for SMDR output. The record layout identifies the format.
Fields extracted: 35

Data items: LG CS-1000

DescriptionData typeColumn name
Feature codestringFLAG1
DirectionstringDIRECTION
Billing Message Sequence NumberstringFLAG2
Called Trunk NumberstringTRUNK
Charge InformationstringFLAG3
Calling Station Telephone NumberstringCALLER_PHONE
Conversation Start TimestringCALL_TIME
Conversation End TimestringCALL_TIME_END
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
Dialed DigitsstringDIALED_PHONE
Switch System IDstringSWITCH_SYSTEM_ID
Charge TypestringCHARGE_TYPE
Call TypestringCALL_TYPE
Calling Station CategorystringCALLING_STATION_CATEGORY
Calling Station-Trunk GroupstringCALLING_STATION_TRUNK_GROUP
Calling Trunk NumberstringCALLING_TRUNK_NUMBER
Called Trunk CategorystringCALLED_TRUNK_CATEGORY
Called Station-Trunk GroupstringCALLED_STATION_TRUNK_GROUP
Called Trunk NumberstringCALLED_TRUNK_NUMBER
Feature Service CategorystringFEATURE_SERVICE_CATEGORY
Charge InformationstringCHARGE_INFORMATION
Miscellanies TypestringMISCELLANIES_TYPE
Call IntegritystringCALL_INTEGRITY
Transfer Station NumberstringTRANSFER_STATION_NUMBER
Calling Station NumberstringCALLING_STATION_NUMBER
Trunk Access CodestringTRUNK_ACCESS_CODE
Conversation Start TimestringCONVERSATION_START_TIME
Conversation End TimestringCONVERSATION_END_TIME
Dialed DigitsstringDIALED_DIGITS
Number of Metering PulsestringNUMBER_OF_METERING_PULSE
Miscellanies DatastringMISCELLANIES_DATA
Real Dialed Digits in LCR ServicestringREAL_DIALED_DIGITS
Verified Account CodestringVERIFIED_ACCOUNT_CODE
Non Verified Account CodestringNON_VERIFIED_ACCOUNT_CODE

Sample record

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

0a152xxxxB8002B091229FFFF140A090xxxxxxxxxxxxA090xxxxC160xxxxA9FFFFFFFFFFFFFFFFFFF010xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxC021xxxxxxFFF151xxxxxxxxFFFFFFFFFFFFF65
085xxxxxxB9FFFF091113FFFF140A090xxxxB020xxxxA090xxxxC170xxxxxFFFFFFFFFFFFFFFFFFFF010xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxC0200FFFF34
08d520361BA003F091363FFFF140A090xxxxB0C00140A090xxxxC1F00961A79612AFFFFFFFFFFFFFF010xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxC020xxxxxxxxFFFFF1B

LG GHX-1232

Parser: LG GHX-1232
Connection: Serial. 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.
Fields extracted: 8

Pinout and wiring

PBX (25 pin)PC (9 pin female)PC (25 pin female)
232
323
474
585
666
757
818
20420

Settings from the manufacturer's documentation

Taken from smdr pinout. Values are those stated in the documentation; confirm them against your firmware release.

SettingDocumented value
cable or pinoutConfirms the page's own PBX(25pin)->PC9->PC25 table: 2-3-2, 3-2-3, 4-7-4, 5-8-5, 6-6-6, 7-5-7, 8-1-8, 20-4-20.

Data items: LG GHX-1232

DescriptionData typeColumn name
StationstringFLAG2
ExternalstringEXT
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
Call timedatetimeCALL_TIME
Call typestringCALL_TYPE
DirectionstringDIRECTION
PhonestringDIALED_PHONE

Sample record

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

101 02 0:01:17 12:38 12/05/92 I
102 02 0:00:02 12:40 12/05/92 t
101 03 0:00:04 12:40 12/05/92 I

LG GHX-46

Parser: LG GHX-46
Connection: Serial. 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.
Fields extracted: 9

Pinout and wiring

PBX (25 pin)PC (9 pin female)PC (25 pin female)
232
323
474
585
666
757
818
20420

Settings from the manufacturer's documentation

Taken from smdr pinout. Values are those stated in the documentation; confirm them against your firmware release.

SettingDocumented value
cable or pinoutConfirms the page's own PBX(25pin)->PC9->PC25 table: 2-3-2, 3-2-3, 4-7-4, 5-8-5, 6-6-6, 7-5-7, 8-1-8, 20-4-20.

Data items: LG GHX-46

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

Sample record

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

117 02 0:01:01 11:00 11/15/04 O 242281                            
117 02 0:00:22 11:01 11/15/04 I                                   
127 02 0:00:27 11:02 11/15/04 t                                   

LG Starex VSP

Parser: LG Starex VSP
Connection: Serial. 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.
Fields extracted: 8

Pinout and wiring

PBX (9 pin male)PC (9 pin female)PC (25 pin female)
1-1
233
322
557

Settings from the manufacturer's documentation

Taken from smdr pinout. Values are those stated in the documentation; confirm them against your firmware release.

SettingDocumented value
cable or pinoutConfirms the page's own PBX(9pin male)->PC9->PC25 table: pin1 not connected -> PC25 pin1; pin2->PC9 pin3->PC25 pin3; pin3->PC9 pin2->PC25 pin2; pin5->PC9 pin5->PC25 pin7.

Data items: LG Starex VSP

DescriptionData typeColumn name
Call timedatetimeCALL_TIME
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
ExtstringEXT
LinestringFLAG1
Dialed phonestringDIALED_PHONE
Calling numberstringCALLER_PHONE
CostfloatCOST

Sample record

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

08/10 13:18 00:00:40 01/10 077xxxxxx        8649                          0
08/10 13:17 00:01:34 01/08 94298            8636                          0
08/10 13:18 00:00:32 01/12 96108            8694                          0

GoldStar GPS-6A

Parser: GoldStar GPS-6A
Connection: Serial printer port or LAN, whichever the system uses for SMDR output. The record layout identifies the format.
Fields extracted: 11

Data items: GoldStar GPS-6A

DescriptionData typeColumn name
StationstringFLAG2
ExtensionstringEXT
Call durationdatetimeCALL_DURATION
Call duration (s)integerCALL_DURATION_S
Call timedatetimeCALL_TIME
Call typestringCALL_TYPE
DirectionstringDIRECTION
PhonestringDIALED_PHONE
ActstringACC
CountstringFLAG3
CostfloatCOST

Sample record

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

 3598  102  03  00:50 02/02/05 17:23  O810xxxxxxxxxxx        
 3599  107  03  09:03 02/02/05 17:24  T810xxxxxxxxxxx        
 3600  117  05  03:30 02/02/05 17:32  O555xxxx               

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 and GoldStar systems with their own setup pages

LG Aria Soho
LG Ericsson IPECS MFIM50A
LG GDK-100
LG GDK-162
LG ipLDK-20
LG LDK-100
LG LDK-300

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.