summaryrefslogtreecommitdiff
path: root/contrib/realtime/mysql
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2012-08-06 17:00:28 +0000
committerMatthew Jordan <mjordan@digium.com>2012-08-06 17:00:28 +0000
commit4ec5c83f69f2576fd0af5be5ba8499519b2c027f (patch)
treec6512566f729a3fd455bdff7d51c75e0d3db203c /contrib/realtime/mysql
parente46db5d9435f5fac954b255e54d6c06d206212a6 (diff)
Update the MySQL voicemail_data contrib script to reflect Asterisk 11 changes
All voicemails now have a 'msg_id' included in their metadata. The ODBC message storage backend now requires this column; as such, the MySQL contrib script that creates the voicemail_data table has been updated with the appropriate column information. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/realtime/mysql')
-rw-r--r--contrib/realtime/mysql/voicemail_data.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/realtime/mysql/voicemail_data.sql b/contrib/realtime/mysql/voicemail_data.sql
index 743bd4492..3e25f6e74 100644
--- a/contrib/realtime/mysql/voicemail_data.sql
+++ b/contrib/realtime/mysql/voicemail_data.sql
@@ -23,7 +23,9 @@ CREATE TABLE voicemail_data (
-- Value of the channel variable VM_CATEGORY, if set
category CHAR(30),
-- Length of the message, in seconds
- duration INT(11)
+ duration INT(11),
+ -- Unique identifier for the message
+ msg_id CHAR(32)
);