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
- LG CS-1000 · Serial or TCP, 35 fields
- LG GHX-1232 · RS-232, 8 fields
- LG GHX-46 · RS-232, 9 fields
- LG Starex VSP · RS-232, 8 fields
- GoldStar GPS-6A · Serial or TCP, 11 fields
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
| Description | Data type | Column name |
|---|---|---|
| Feature code | string | FLAG1 |
| Direction | string | DIRECTION |
| Billing Message Sequence Number | string | FLAG2 |
| Called Trunk Number | string | TRUNK |
| Charge Information | string | FLAG3 |
| Calling Station Telephone Number | string | CALLER_PHONE |
| Conversation Start Time | string | CALL_TIME |
| Conversation End Time | string | CALL_TIME_END |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Dialed Digits | string | DIALED_PHONE |
| Switch System ID | string | SWITCH_SYSTEM_ID |
| Charge Type | string | CHARGE_TYPE |
| Call Type | string | CALL_TYPE |
| Calling Station Category | string | CALLING_STATION_CATEGORY |
| Calling Station-Trunk Group | string | CALLING_STATION_TRUNK_GROUP |
| Calling Trunk Number | string | CALLING_TRUNK_NUMBER |
| Called Trunk Category | string | CALLED_TRUNK_CATEGORY |
| Called Station-Trunk Group | string | CALLED_STATION_TRUNK_GROUP |
| Called Trunk Number | string | CALLED_TRUNK_NUMBER |
| Feature Service Category | string | FEATURE_SERVICE_CATEGORY |
| Charge Information | string | CHARGE_INFORMATION |
| Miscellanies Type | string | MISCELLANIES_TYPE |
| Call Integrity | string | CALL_INTEGRITY |
| Transfer Station Number | string | TRANSFER_STATION_NUMBER |
| Calling Station Number | string | CALLING_STATION_NUMBER |
| Trunk Access Code | string | TRUNK_ACCESS_CODE |
| Conversation Start Time | string | CONVERSATION_START_TIME |
| Conversation End Time | string | CONVERSATION_END_TIME |
| Dialed Digits | string | DIALED_DIGITS |
| Number of Metering Pulse | string | NUMBER_OF_METERING_PULSE |
| Miscellanies Data | string | MISCELLANIES_DATA |
| Real Dialed Digits in LCR Service | string | REAL_DIALED_DIGITS |
| Verified Account Code | string | VERIFIED_ACCOUNT_CODE |
| Non Verified Account Code | string | NON_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) |
|---|---|---|
| 2 | 3 | 2 |
| 3 | 2 | 3 |
| 4 | 7 | 4 |
| 5 | 8 | 5 |
| 6 | 6 | 6 |
| 7 | 5 | 7 |
| 8 | 1 | 8 |
| 20 | 4 | 20 |
Settings from the manufacturer's documentation
Taken from smdr pinout. Values are those stated in the documentation; confirm them against your firmware release.
| Setting | Documented value |
|---|---|
| cable or pinout | Confirms 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
| Description | Data type | Column name |
|---|---|---|
| Station | string | FLAG2 |
| External | string | EXT |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Call time | datetime | CALL_TIME |
| Call type | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Phone | string | DIALED_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) |
|---|---|---|
| 2 | 3 | 2 |
| 3 | 2 | 3 |
| 4 | 7 | 4 |
| 5 | 8 | 5 |
| 6 | 6 | 6 |
| 7 | 5 | 7 |
| 8 | 1 | 8 |
| 20 | 4 | 20 |
Settings from the manufacturer's documentation
Taken from smdr pinout. Values are those stated in the documentation; confirm them against your firmware release.
| Setting | Documented value |
|---|---|
| cable or pinout | Confirms 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
| Description | Data type | Column name |
|---|---|---|
| Station | string | FLAG2 |
| External | string | EXT |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Call time | datetime | CALL_TIME |
| Call type | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Phone | string | DIALED_PHONE |
| Account code | string | ACC |
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 |
| 2 | 3 | 3 |
| 3 | 2 | 2 |
| 5 | 5 | 7 |
Settings from the manufacturer's documentation
Taken from smdr pinout. Values are those stated in the documentation; confirm them against your firmware release.
| Setting | Documented value |
|---|---|
| cable or pinout | Confirms 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
| Description | Data type | Column name |
|---|---|---|
| Call time | datetime | CALL_TIME |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Ext | string | EXT |
| Line | string | FLAG1 |
| Dialed phone | string | DIALED_PHONE |
| Calling number | string | CALLER_PHONE |
| Cost | float | COST |
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
| Description | Data type | Column name |
|---|---|---|
| Station | string | FLAG2 |
| Extension | string | EXT |
| Call duration | datetime | CALL_DURATION |
| Call duration (s) | integer | CALL_DURATION_S |
| Call time | datetime | CALL_TIME |
| Call type | string | CALL_TYPE |
| Direction | string | DIRECTION |
| Phone | string | DIALED_PHONE |
| Act | string | ACC |
| Count | string | FLAG3 |
| Cost | float | COST |
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 SohoLG 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.
Related topics: Advanced PBX Data Logger
hereCall logging Call accounting SMDR to SQL SMDR Listener Cables and signals