[asterisk-commits] tilghman: branch 1.6.2 r286587 - /branches/1.6.2/contrib/realtime/mysql/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 14 00:06:13 CDT 2010


Author: tilghman
Date: Tue Sep 14 00:06:05 2010
New Revision: 286587

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=286587
Log:
Add documentation on missing backend tables for Voicemail

Added:
    branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql   (with props)
    branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql   (with props)

Added: branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql?view=auto&rev=286587
==============================================================================
--- branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql (added)
+++ branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql Tue Sep 14 00:06:05 2010
@@ -1,0 +1,29 @@
+DROP TABLE IF EXISTS voicemail_data;
+CREATE TABLE voicemail_data (
+	-- Path to the recording
+	filename CHAR(255) NOT NULL PRIMARY KEY,
+	-- Mailbox number (without context)
+	origmailbox CHAR(80),
+	-- Dialplan context
+	context CHAR(80),
+	-- Dialplan context, if voicemail was invoked from a macro
+	macrocontext CHAR(80),
+	-- Dialplan extension
+	exten CHAR(80),
+	-- Dialplan priority
+	priority INT(5),
+	-- Name of the channel, when message was left
+	callerchan CHAR(80),
+	-- CallerID on the channel, when message was left
+	callerid CHAR(80),
+	-- Contrary to the name, origdate is a full datetime, in localized format
+	origdate CHAR(30),
+	-- Same date as origdate, but in Unixtime
+	origtime INT(11),
+	-- Value of the channel variable VM_CATEGORY, if set
+	category CHAR(30),
+	-- Length of the message, in seconds
+	duration INT(11)
+);
+
+

Propchange: branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql
------------------------------------------------------------------------------
    svn:keywords = 'Date Author Id Revision Yoyo'

Propchange: branches/1.6.2/contrib/realtime/mysql/voicemail_data.sql
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql?view=auto&rev=286587
==============================================================================
--- branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql (added)
+++ branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql Tue Sep 14 00:06:05 2010
@@ -1,0 +1,29 @@
+-- While this does not use the realtime backend, for brevity, we include this table here, as well.
+DROP TABLE IF EXISTS voicemail_messages;
+CREATE TABLE voicemail_messages (
+	-- Logical directory
+	dir CHAR(255),
+	-- Message number within the logical directory
+	msgnum INT(4),
+	-- Dialplan context
+	context CHAR(80),
+	-- Dialplan context, if Voicemail was invoked from a macro
+	macrocontext CHAR(80),
+	-- CallerID, when the message was left
+	callerid CHAR(80),
+	-- Date when the message was left, in Unixtime
+	origtime INT(11),
+	-- Length of the message, in seconds
+	duration INT(11),
+	-- The recording itself
+	recording BLOB,
+	-- Text flags indicating urgency of the message
+	flag CHAR(30),
+	-- Value of channel variable VM_CATEGORY, if set
+	category CHAR(30),
+	-- Owner of the mailbox
+	mailboxuser CHAR(30),
+	-- Context of the owner of the mailbox
+	mailboxcontext CHAR(30),
+	PRIMARY KEY (dir, msgnum)
+);

Propchange: branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql
------------------------------------------------------------------------------
    svn:keywords = 'Date Author Id Revision Yoyo'

Propchange: branches/1.6.2/contrib/realtime/mysql/voicemail_messages.sql
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list