You can set default account codes and AMA flags for devices in
channel configuration files, like sip.conf, iax.conf etc.
-\section{Fields of the CDR in Asterisk}
+\section{CDR Fields}
\begin{itemize}
\item accountcode: What account number to use, (string, 20 characters)
(although this can result in a media latency increase since the media packets
have to traverse the middle server(s) in the call).
-\section{CDR Variables}
+\section{Variables}
-If the channel has a cdr, that cdr record has its own set of variables which
-can be accessed just like channel variables. The following builtin variables
-are available.
+If the channel has a CDR, that CDR has its own set of variables which can be
+accessed just like channel variables. The following builtin variables are
+available.
\begin{verbatim}
${CDR(clid)} Caller ID
-\section{CDR Back Ends}
+\section{Storage Backends}
-\subsection{MSSQL}
+\subsection{Microsoft SQL Server}
Asterisk can currently store CDRs into an MSSQL database in
two different ways: cdr\_odbc or cdr\_tds
call to the database when it's complete.
-\subsection{MYSQL}
+\subsection{MySQL}
Using MySQL for CDR records is supported by using ODBC and the cdr\_odbc module.
-\subsection{PGSQL}
+\subsection{PostgreSQL}
If you want to go directly to postgresql database, and have the cdr\_pgsql.so
compiled you can use the following sample setup.
On Debian, before compiling asterisk, just install libpqxx-dev.
\end{verbatim}
\end{astlisting}
-\subsection{SQLLITE}
+\subsection{SQLite 2}
SQLite version 2 is supported in cdr\_sqlite.
+\subsection{SQLite 3}
+
+SQLite version 3 is supported in cdr\_sqlite3\_custom.
+
\subsection{RADIUS}
\subsubsection{What is needed}