[asterisk-commits] seanbright: trunk r164565 - /trunk/doc/tex/odbcstorage.tex

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 15 19:52:32 CST 2008


Author: seanbright
Date: Mon Dec 15 19:52:32 2008
New Revision: 164565

URL: http://svn.digium.com/view/asterisk?view=rev&rev=164565
Log:
Use tables instead of ASCII art.  Also change a bit of minor formatting.

Modified:
    trunk/doc/tex/odbcstorage.tex

Modified: trunk/doc/tex/odbcstorage.tex
URL: http://svn.digium.com/view/asterisk/trunk/doc/tex/odbcstorage.tex?view=diff&rev=164565&r1=164564&r2=164565
==============================================================================
--- trunk/doc/tex/odbcstorage.tex (original)
+++ trunk/doc/tex/odbcstorage.tex Mon Dec 15 19:52:32 2008
@@ -2,30 +2,32 @@
 
 ODBC Storage allows you to store voicemail messages within a database 
 instead of using a file.  This is \textbf{not} a full realtime engine and 
-\textbf{only} supports ODBC.  The table description for the "voicemessages" 
+\textbf{only} supports ODBC.  The table description for the \texttt{voicemessages}
 table is as follows:
 
-\begin{verbatim}
-+----------------+-------------+------+-----+---------+-------+
-| Field          | Type        | Null | Key | Default | Extra |
-+----------------+-------------+------+-----+---------+-------+
-| msgnum         | int(11)     | YES  |     | NULL    |       |
-| dir            | varchar(80) | YES  | MUL | NULL    |       |
-| context        | varchar(80) | YES  |     | NULL    |       |
-| macrocontext   | varchar(80) | YES  |     | NULL    |       |
-| callerid       | varchar(40) | YES  |     | NULL    |       |
-| origtime       | varchar(40) | YES  |     | NULL    |       |
-| duration       | varchar(20) | YES  |     | NULL    |       |
-| mailboxuser    | varchar(80) | YES  |     | NULL    |       |
-| mailboxcontext | varchar(80) | YES  |     | NULL    |       |
-| recording      | longblob    | YES  |     | NULL    |       |
-+----------------+-------------+------+-----+---------+-------+
-\end{verbatim}
+\begin{table}[h]
+\begin{center}
+\begin{tabular}{ | l | l | c | c | l | l | }
+\hline
+Field          & Type        & Null & Key & Default & Extra \\ \hline \hline
+msgnum         & int(11)     & Yes  &     & NULL    &       \\ \hline
+dir            & varchar(80) & Yes  & MUL & NULL    &       \\ \hline
+context        & varchar(80) & Yes  &     & NULL    &       \\ \hline
+macrocontext   & varchar(80) & Yes  &     & NULL    &       \\ \hline
+callerid       & varchar(40) & Yes  &     & NULL    &       \\ \hline
+origtime       & varchar(40) & Yes  &     & NULL    &       \\ \hline
+duration       & varchar(20) & Yes  &     & NULL    &       \\ \hline
+mailboxuser    & varchar(80) & Yes  &     & NULL    &       \\ \hline
+mailboxcontext & varchar(80) & Yes  &     & NULL    &       \\ \hline
+recording      & longblob    & Yes  &     & NULL    &       \\
+\hline
+\end{tabular}
+\end{center}
+\caption{\texttt{voicemessages} Table Schema}
+\end{table}
 
-The database name (from \path{/etc/asterisk/res_odbc.conf}) is in the 
-"odbcstorage" variable in the general section of voicemail.conf.
+The database name (from \path{/etc/asterisk/res_odbc.conf}) is in the
+\texttt{odbcstorage} variable in the general section of \path{voicemail.conf}.
 
-You may modify the voicemessages table name by using 
-odbctable=??? in voicemail.conf.
-
-
+You may modify the \texttt{voicemessages} table name by using
+\texttt{odbctable=\textit{table\_name}} in \path{voicemail.conf}.




More information about the asterisk-commits mailing list