Files
asterisk/doc/tex/odbcstorage.tex
Tilghman Lesher 83e2a02a78 Recorded merge of revisions 207224 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r207224 | tilghman | 2009-07-17 17:04:43 -0500 (Fri, 17 Jul 2009) | 2 lines
  
  Document the "flag" field in the voicemessages table.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@207227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-17 22:11:35 +00:00

33 lines
1.4 KiB
TeX

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"
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 | |
| flag | varchar(8) | YES | | NULL | |
| mailboxuser | varchar(80) | YES | | NULL | |
| mailboxcontext | varchar(80) | YES | | NULL | |
| recording | longblob | YES | | NULL | |
+----------------+-------------+------+-----+---------+-------+
\end{verbatim}
The database name (from \path{/etc/asterisk/res_odbc.conf}) is in the
"odbcstorage" variable in the general section of voicemail.conf.
You may modify the voicemessages table name by using
odbctable=??? in voicemail.conf.