aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-25 03:15:18 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-25 03:15:18 +0000
commit7ff52bf0beb9af53698beb068ac91d4e238bb46e (patch)
tree59114dcc33c74c1b528b465cc938c8a2f59e4900 /doc
parent31019d57fc8b26d49b6043f6c1b7facbce1fa1de (diff)
add optional 'extended ODBC storage' mode (issue #4403)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6404 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/README.odbcstorage36
1 files changed, 22 insertions, 14 deletions
diff --git a/doc/README.odbcstorage b/doc/README.odbcstorage
index 9b85fc5bc..2cba0b4b9 100755
--- a/doc/README.odbcstorage
+++ b/doc/README.odbcstorage
@@ -6,20 +6,28 @@ 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 | |
-| recording | longblob | YES | | NULL | |
-+--------------+-------------+------+-----+---------+-------+
++----------------+-------------+------+-----+---------+-------+
+| 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 | |
++----------------+-------------+------+-----+---------+-------+
+
+*=Denotes new fieldnames, define EXTENDED_ODBC_STORAGE in
+apps/Makefile to enable the functionality.
The database name (from /etc/asterisk/res_odbc.conf) is in the
-"odbcstorage" variable in the general section.
+"odbcstorage" variable in the general section of voicemail.conf.
+
+You may modify the voicemessages table name by using
+odbctable=??? in voicemail.conf
+
-Mark