mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Clean up section hierarchy for the CDR chapter.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@202804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
Call data records can be stored in many different databases or even CSV text.
|
\section{CDR Back Ends}
|
||||||
|
|
||||||
\section{MSSQL}
|
\subsection{MSSQL}
|
||||||
|
|
||||||
Asterisk can currently store CDRs into an MSSQL database in
|
Asterisk can currently store CDRs into an MSSQL database in
|
||||||
two different ways: cdr\_odbc or cdr\_tds
|
two different ways: cdr\_odbc or cdr\_tds
|
||||||
@@ -12,7 +12,7 @@ Call data records can be stored in many different databases or even CSV text.
|
|||||||
|
|
||||||
NOTE: Only choose one db connector.
|
NOTE: Only choose one db connector.
|
||||||
|
|
||||||
\subsection{ODBC using cdr\_odbc}
|
\subsubsection{ODBC using cdr\_odbc}
|
||||||
Compile, configure, and install the latest unixODBC package:
|
Compile, configure, and install the latest unixODBC package:
|
||||||
\begin{astlisting}
|
\begin{astlisting}
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
@@ -121,7 +121,7 @@ Call data records can be stored in many different databases or even CSV text.
|
|||||||
logs a connection to the database and will now record every
|
logs a connection to the database and will now record every
|
||||||
call to the database when it's complete.
|
call to the database when it's complete.
|
||||||
|
|
||||||
\subsection{TDS, using cdr\_tds}
|
\subsubsection{TDS, using cdr\_tds}
|
||||||
Compile, configure, and install the latest FreeTDS package:
|
Compile, configure, and install the latest FreeTDS package:
|
||||||
\begin{astlisting}
|
\begin{astlisting}
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
@@ -195,11 +195,11 @@ Call data records can be stored in many different databases or even CSV text.
|
|||||||
call to the database when it's complete.
|
call to the database when it's complete.
|
||||||
|
|
||||||
|
|
||||||
\section{MYSQL}
|
\subsection{MYSQL}
|
||||||
|
|
||||||
Using MySQL for CDR records is supported by using ODBC and the cdr\_odbc module.
|
Using MySQL for CDR records is supported by using ODBC and the cdr\_odbc module.
|
||||||
|
|
||||||
\section{PGSQL}
|
\subsection{PGSQL}
|
||||||
If you want to go directly to postgresql database, and have the cdr\_pgsql.so
|
If you want to go directly to postgresql database, and have the cdr\_pgsql.so
|
||||||
compiled you can use the following sample setup.
|
compiled you can use the following sample setup.
|
||||||
On Debian, before compiling asterisk, just install libpqxx-dev.
|
On Debian, before compiling asterisk, just install libpqxx-dev.
|
||||||
@@ -246,13 +246,13 @@ Using MySQL for CDR records is supported by using ODBC and the cdr\_odbc module.
|
|||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\end{astlisting}
|
\end{astlisting}
|
||||||
|
|
||||||
\section{SQLLITE}
|
\subsection{SQLLITE}
|
||||||
|
|
||||||
SQLite version 2 is supported in cdr\_sqlite.
|
SQLite version 2 is supported in cdr\_sqlite.
|
||||||
|
|
||||||
\section{RADIUS}
|
\subsection{RADIUS}
|
||||||
|
|
||||||
\subsection{What is needed}
|
\subsubsection{What is needed}
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item FreeRADIUS server
|
\item FreeRADIUS server
|
||||||
@@ -289,8 +289,6 @@ SQLite version 2 is supported in cdr\_sqlite.
|
|||||||
\caption{Asterisk/RADIUS Integration}
|
\caption{Asterisk/RADIUS Integration}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
\subsection{Steps to follow in order to have RADIUS support}
|
|
||||||
|
|
||||||
\subsubsection{Installation of the Radiusclient library}
|
\subsubsection{Installation of the Radiusclient library}
|
||||||
|
|
||||||
Download the sources from
|
Download the sources from
|
||||||
@@ -447,7 +445,7 @@ SQLite version 2 is supported in cdr\_sqlite.
|
|||||||
the radiusclient-ng library configuration file.
|
the radiusclient-ng library configuration file.
|
||||||
|
|
||||||
|
|
||||||
\section{Logged Values}
|
\subsubsection{Logged Values}
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
"Asterisk-Acc-Code", The account name of detail records
|
"Asterisk-Acc-Code", The account name of detail records
|
||||||
"Asterisk-Src",
|
"Asterisk-Src",
|
||||||
|
Reference in New Issue
Block a user