From aa379bb74191b5fef7e3c193d80236da92e7e991 Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Fri, 17 Jul 2009 22:04:43 +0000
Subject: [PATCH] Document the "flag" field in the voicemessages table.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 UPGRADE.txt             | 66 +++++++++++++++++++++--------------------
 doc/tex/odbcstorage.tex |  1 +
 2 files changed, 35 insertions(+), 32 deletions(-)

diff --git a/UPGRADE.txt b/UPGRADE.txt
index 2b9d2ef683..8097c4bae7 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -41,6 +41,37 @@ From 1.6.2 to 1.6.3:
 
 From 1.6.1 to 1.6.2:
 
+* The default console now will use colors according to the default background
+  color, instead of forcing the background color to black.  If you are using a
+  light colored background for your console, you may wish to use the option
+  flag '-W' to present better color choices for the various messages.  However,
+  if you'd prefer the old method of forcing colors to white text on a black
+  background, the compatibility option -B is provided for this purpose.
+
+* SendImage() no longer hangs up the channel on transmission error or on
+  any other error; in those cases, a FAILURE status is stored in
+  SENDIMAGESTATUS and dialplan execution continues.  The possible
+  return values stored in SENDIMAGESTATUS are: SUCCESS, FAILURE, and
+  UNSUPPORTED. ('OK' has been replaced with 'SUCCESS', and 'NOSUPPORT'
+  has been replaced with 'UNSUPPORTED').  This change makes the
+  SendImage application more consistent with other applications.
+
+* skinny.conf now has separate sections for lines and devices.
+  Please have a look at configs/skinny.conf.sample and update
+  your skinny.conf.
+
+* Queue names previously were treated in a case-sensitive manner,
+  meaning that queues with names like "sales" and "sALeS" would be
+  seen as unique queues. The parsing logic has changed to use
+  case-insensitive comparisons now when originally hashing based on
+  queue names, meaning that now the two queues mentioned as examples
+  earlier will be seen as having the same name.
+
+* The SPRINTF() dialplan function has been moved into its own module,
+  func_sprintf, and is no longer included in func_strings. If you use this
+  function and do not use 'autoload=yes' in modules.conf, you will need
+  to explicitly load func_sprintf for it to be available.
+
 * The res_indications module has been removed.  Its functionality was important
   enough that most of it has been moved into the Asterisk core.
   Two applications previously provided by res_indications, PlayTones and
@@ -111,36 +142,7 @@ From 1.6.0.x to 1.6.1:
 * The "Join" event from app_queue now uses the CallerIDNum header instead of
   the CallerID header to indicate the CallerID number.
 
-From 1.6.1 to 1.6.2:
-
-* The default console now will use colors according to the default background
-  color, instead of forcing the background color to black.  If you are using a
-  light colored background for your console, you may wish to use the option
-  flag '-W' to present better color choices for the various messages.  However,
-  if you'd prefer the old method of forcing colors to white text on a black
-  background, the compatibility option -B is provided for this purpose.
-
-* SendImage() no longer hangs up the channel on transmission error or on
-  any other error; in those cases, a FAILURE status is stored in
-  SENDIMAGESTATUS and dialplan execution continues.  The possible
-  return values stored in SENDIMAGESTATUS are: SUCCESS, FAILURE, and
-  UNSUPPORTED. ('OK' has been replaced with 'SUCCESS', and 'NOSUPPORT'
-  has been replaced with 'UNSUPPORTED').  This change makes the
-  SendImage application more consistent with other applications.
-
-* skinny.conf now has separate sections for lines and devices.
-  Please have a look at configs/skinny.conf.sample and update
-  your skinny.conf.
-
-* Queue names previously were treated in a case-sensitive manner,
-  meaning that queues with names like "sales" and "sALeS" would be
-  seen as unique queues. The parsing logic has changed to use
-  case-insensitive comparisons now when originally hashing based on
-  queue names, meaning that now the two queues mentioned as examples
-  earlier will be seen as having the same name.
-
-* The SPRINTF() dialplan function has been moved into its own module,
-  func_sprintf, and is no longer included in func_strings. If you use this
-  function and do not use 'autoload=yes' in modules.conf, you will need
-  to explicitly load func_sprintf for it to be available.
+* If you use ODBC storage for voicemail, there is a new field called "flag"
+  which should be a char(8) or larger.  This field specifies whether or not a
+  message has been designated to be "Urgent", "PRIORITY", or not.
 
diff --git a/doc/tex/odbcstorage.tex b/doc/tex/odbcstorage.tex
index 43b3e0ed13..9376c7d198 100644
--- a/doc/tex/odbcstorage.tex
+++ b/doc/tex/odbcstorage.tex
@@ -17,6 +17,7 @@ macrocontext   & varchar(80) & Yes  &     & NULL    &       \\ \hline
 callerid       & varchar(40) & Yes  &     & NULL    &       \\ \hline
 origtime       & varchar(40) & Yes  &     & NULL    &       \\ \hline
 duration       & varchar(20) & Yes  &     & NULL    &       \\ \hline
+flag           & varchar(8)  & Yes  &     & NULL    &       \\ \hline
 mailboxuser    & varchar(80) & Yes  &     & NULL    &       \\ \hline
 mailboxcontext & varchar(80) & Yes  &     & NULL    &       \\ \hline
 recording      & longblob    & Yes  &     & NULL    &       \\
-- 
GitLab