Asterisk can currently store Channel Events into an MSSQL database in two different ways: cel_odbc or cel_tds
Channel Event Records can be stored using unixODBC (which requires the FreeTDS package) [cel_odbc] or directly by using just the FreeTDS package [cel_tds] The following provide some examples known to get asterisk working with mssql.
NOTE: Only choose one db connector.