summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2011-12-23 21:19:52 +0000
committerMatthew Jordan <mjordan@digium.com>2011-12-23 21:19:52 +0000
commitb0243fb57c03b8e98e8ccb7e08c3215c42c0bc8b (patch)
tree49cfc6228f11f83adb53013f5e8edec766f1494b /contrib
parent19a4928fee5647b78f58d3b5457117360e09c54c (diff)
Allow overriding of IMAP server settings on a user by user basis
This patch allows the imapserver, imapport, and imapflags settings to be overridden for any voicemail user. It also documents the settings in the sample voicemail.conf file, and updates the voicemail schema to allow storage of those columns. (closes issue ASTERISK-16489) Reporter: Hubert Mickael Tested by: Matt Jordan Review: https://reviewboard.asterisk.org/r/1614/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib')
-rw-r--r--contrib/realtime/mysql/voicemail.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/realtime/mysql/voicemail.sql b/contrib/realtime/mysql/voicemail.sql
index c8148cfcb..bd924f426 100644
--- a/contrib/realtime/mysql/voicemail.sql
+++ b/contrib/realtime/mysql/voicemail.sql
@@ -60,5 +60,11 @@ CREATE TABLE voicemail (
imapuser VARCHAR(80),
-- IMAP password for authentication (if using IMAP storage)
imappassword VARCHAR(80),
+ -- IMAP server location (if using IMAP storage)
+ imapsever VARCHAR(80),
+ -- IMAP port (if using IMAP storage)
+ imapport VARCHAR(8),
+ -- IMAP flags (if using IMAP storage)
+ imapflags VARCHAR(80),
stamp timestamp
);