2005-01-07 06:19:37 +00:00
|
|
|
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:
|
|
|
|
|
2005-08-25 03:15:18 +00:00
|
|
|
+----------------+-------------+------+-----+---------+-------+
|
|
|
|
| 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 | |
|
2006-08-16 16:22:13 +00:00
|
|
|
| mailboxuser | varchar(80) | YES | | NULL | |
|
|
|
|
| mailboxcontext | varchar(80) | YES | | NULL | |
|
2005-08-25 03:15:18 +00:00
|
|
|
| recording | longblob | YES | | NULL | |
|
|
|
|
+----------------+-------------+------+-----+---------+-------+
|
|
|
|
|
2005-01-07 06:19:37 +00:00
|
|
|
The database name (from /etc/asterisk/res_odbc.conf) is in the
|
2005-08-25 03:15:18 +00:00
|
|
|
"odbcstorage" variable in the general section of voicemail.conf.
|
|
|
|
|
|
|
|
You may modify the voicemessages table name by using
|
|
|
|
odbctable=??? in voicemail.conf
|
|
|
|
|
2005-01-07 06:19:37 +00:00
|
|
|
|