# MSSQL

Asterisk can currently store CDRs into an MSSQL database in two different ways: cdr_odbc or cdr_tds

Call Data Records can be stored using unixODBC (which requires the FreeTDS package) [cdr_odbc] or directly by using just the FreeTDS package [cdr_tds] The following provide some examples known to get asterisk working with mssql.

NOTE: Only choose one db connector.

Subsections

- ODBC using cdr_odbc
- TDS, using cdr_tds