aboutsummaryrefslogtreecommitdiffstats
path: root/1.4.23-rc4/doc/odbcstorage.txt
diff options
context:
space:
mode:
Diffstat (limited to '1.4.23-rc4/doc/odbcstorage.txt')
-rw-r--r--1.4.23-rc4/doc/odbcstorage.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/1.4.23-rc4/doc/odbcstorage.txt b/1.4.23-rc4/doc/odbcstorage.txt
new file mode 100644
index 000000000..435574b0e
--- /dev/null
+++ b/1.4.23-rc4/doc/odbcstorage.txt
@@ -0,0 +1,30 @@
+ODBC Voicemail Storage
+======================
+
+ODBC Storage allows you to store voicemail messages within a database
+instead of using a file. This is *not* a full realtime engine and
+*only* supports ODBC. The table description for the "voicemessages"
+table is as follows:
+
++----------------+-------------+------+-----+---------+-------+
+| 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 | |
++----------------+-------------+------+-----+---------+-------+
+
+The database name (from /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
+
+