Skip to content
Snippets Groups Projects
Commit 45bc07c4 authored by Sean Bright's avatar Sean Bright
Browse files

Use tables instead of ASCII art. Also change a bit of minor formatting.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 9e652837
Branches
Tags
No related merge requests found
...@@ -2,30 +2,32 @@ ...@@ -2,30 +2,32 @@
ODBC Storage allows you to store voicemail messages within a database 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 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: table is as follows:
\begin{verbatim} \begin{table}[h]
+----------------+-------------+------+-----+---------+-------+ \begin{center}
| Field | Type | Null | Key | Default | Extra | \begin{tabular}{ | l | l | c | c | l | l | }
+----------------+-------------+------+-----+---------+-------+ \hline
| msgnum | int(11) | YES | | NULL | | Field & Type & Null & Key & Default & Extra \\ \hline \hline
| dir | varchar(80) | YES | MUL | NULL | | msgnum & int(11) & Yes & & NULL & \\ \hline
| context | varchar(80) | YES | | NULL | | dir & varchar(80) & Yes & MUL & NULL & \\ \hline
| macrocontext | varchar(80) | YES | | NULL | | context & varchar(80) & Yes & & NULL & \\ \hline
| callerid | varchar(40) | YES | | NULL | | macrocontext & varchar(80) & Yes & & NULL & \\ \hline
| origtime | varchar(40) | YES | | NULL | | callerid & varchar(40) & Yes & & NULL & \\ \hline
| duration | varchar(20) | YES | | NULL | | origtime & varchar(40) & Yes & & NULL & \\ \hline
| mailboxuser | varchar(80) | YES | | NULL | | duration & varchar(20) & Yes & & NULL & \\ \hline
| mailboxcontext | varchar(80) | YES | | NULL | | mailboxuser & varchar(80) & Yes & & NULL & \\ \hline
| recording | longblob | YES | | NULL | | mailboxcontext & varchar(80) & Yes & & NULL & \\ \hline
+----------------+-------------+------+-----+---------+-------+ recording & longblob & Yes & & NULL & \\
\end{verbatim} \hline
\end{tabular}
The database name (from \path{/etc/asterisk/res_odbc.conf}) is in the \end{center}
"odbcstorage" variable in the general section of voicemail.conf. \caption{\texttt{voicemessages} Table Schema}
\end{table}
You may modify the voicemessages table name by using
odbctable=??? in 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 \texttt{voicemessages} table name by using
\texttt{odbctable=\textit{table\_name}} in \path{voicemail.conf}.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment