TDS, using cdr_tds

Compile, configure, and install the latest FreeTDS package: Compile, or recompile, asterisk so that it will now add support for cdr_tds. Only install one database connector. Do not confuse asterisk by using both ODBC (cdr_odbc) and FreeTDS (cdr_tds). This command will erase the contents of cdr_odbc.conf Setup cdr_tds configuration files. These are working samples from my system. You will need to modify for your setup. Define your usernames and passwords here, secure file as well. And finally, create the 'cdr' table in your mssql database. Start asterisk in verbose mode, you should see that asterisk logs a connection to the database and will now record every call to the database when it's complete.



lmadsen 2010-01-14