Page 497 - Asterisk™: The Future of Telephony
P. 497

Source:
                   Destination:
                   DestinationContext:
                   CallerID:
                   Channel:
                   DestinationChannel:
                   LastApplication:
                   LastData:
                   StartTime:
                   AnswerTime:
                   EndTime:
                   Duration:
                   BillableSeconds:
                   Disposition:
                   AMAFlags:
                   UniqueID:
                   UserField:

               cdr_odbc.conf

               Asterisk can store CDR data in a local or remote database via the ODBC interface. The
               cdr_odbc.conf file contains the information Asterisk needs to connect to the database.
               The cdr_odbc.so module will attempt to load the cdr_odbc.conf file, and if information
               is found for connecting to a database, the CDR data will be recorded there.

                           If you are going to use a database for storing CDR data, you will have
                           to select one of the many that are available. Asterisk does not like having
                           multiple  CDR  databases  to  connect  to,  so  do  not  have  extra
                           cdr_engine.conf  files  hanging  about  your  Asterisk  configuration
                           directory.

               cdr_pgsql.conf


               Asterisk can store CDR data in a PostgreSQL database via the cdr_pgsql.so module.
               When  the  module  is  loaded  the  necessary  information  will  be  read  from  the
               cdr_pgsql.conf file, and Asterisk will connect to the PostgreSQL database to write and
               store CDR data.


               cdr_tds.conf

               Asterisk can also store CDR data to a FreeTDS database (including MS SQL) with the
               use of the cdr_tds.so module. The configuration file cdr_tds.conf is read once the module
               is loaded. Upon a successful connection, CDR data will be written to the database.








                                                                          cdr_odbc.conf | 469
   492   493   494   495   496   497   498   499   500   501   502