1 DROP TABLE IF EXISTS voicemail_data;
2 CREATE TABLE voicemail_data (
3 -- Path to the recording
4 filename CHAR(255) NOT NULL PRIMARY KEY,
5 -- Mailbox number (without context)
9 -- Dialplan context, if voicemail was invoked from a macro
10 macrocontext CHAR(80),
15 -- Name of the channel, when message was left
17 -- CallerID on the channel, when message was left
19 -- Contrary to the name, origdate is a full datetime, in localized format
21 -- Same date as origdate, but in Unixtime
23 -- Value of the channel variable VM_CATEGORY, if set
25 -- Length of the message, in seconds