mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Making these documentation changes in the 1.4 branch upset various people, so
these chanes will only be done in the trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
30
doc/odbcstorage.txt
Normal file
30
doc/odbcstorage.txt
Normal file
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user