bg

Asterisk (CSV) SMDR setup and CDR format

This page shows how to get call records out of the Asterisk (CSV) into Advanced PBX Data Logger: the connection settings, the parser to select and the 18 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

ItemAsterisk (CSV)
InterfaceSerial printer port or LAN, whichever the system uses for SMDR output. The record layout identifies the format.
Parser to selectAsterisk (CSV)
Fields extracted18

Selecting the correct parser for Asterisk (CSV)

Parser Selection For PBX Data Logger

Asterisk (CSV)

Asterisk (CSV)

Data items

DescriptionData typeColumn name
Account numberstringACC
DirectionstringDIRECTION
Caller phonestringCALLER_PHONE
ExtstringEXT
Dialed phonestringDIALED_PHONE
Destination contextstringCALL_TYPE
Caller ID namestringFLAG1
ChannelstringFLAG2
Destination channelstringFLAG3
Call timedatetimeCALL_TIME
Total duration (s)integerTOTAL_DURATION_S
Call duration (s)integerCALL_DURATION_S
Ring duration (s)integerRING_S
Call durationdatetimeCALL_DURATION
Ring durationdatetimeRING
DispositionstringFLAG5
FlagsstringFLAG6
User datastringUSER_DATA

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 Asterisk systems

Asterisk (AMI interface)
Aristel AV38
Asterisk (Master CSV)
Asterisk Fonality (CSV)
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.