[asterisk-commits] russell: branch 1.8 r287193 - in /branches/1.8: ./ apps/ configs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 16 16:57:55 CDT 2010


Author: russell
Date: Thu Sep 16 16:57:51 2010
New Revision: 287193

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=287193
Log:
Set the default for "autofill" and "shared_lastcall" to "yes" in queues.conf.

Review: https://reviewboard.asterisk.org/r/922/

Modified:
    branches/1.8/UPGRADE.txt
    branches/1.8/apps/app_queue.c
    branches/1.8/configs/queues.conf.sample

Modified: branches/1.8/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/UPGRADE.txt?view=diff&rev=287193&r1=287192&r2=287193
==============================================================================
--- branches/1.8/UPGRADE.txt (original)
+++ branches/1.8/UPGRADE.txt Thu Sep 16 16:57:51 2010
@@ -19,6 +19,9 @@
 ===========================================================
 
 From 1.6.2 to 1.8:
+
+* The default value for 'autofill' and 'shared_lastcall' in queues.conf has
+  been changed to 'yes'.
 
 * The default value for the alwaysauthreject option in sip.conf has been changed
   from "no" to "yes".

Modified: branches/1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_queue.c?view=diff&rev=287193&r1=287192&r2=287193
==============================================================================
--- branches/1.8/apps/app_queue.c (original)
+++ branches/1.8/apps/app_queue.c Thu Sep 16 16:57:51 2010
@@ -760,13 +760,13 @@
 static int use_weight = 0;
 
 /*! \brief queues.conf [general] option */
-static int autofill_default = 0;
+static int autofill_default = 1;
 
 /*! \brief queues.conf [general] option */
 static int montype_default = 0;
 
 /*! \brief queues.conf [general] option */
-static int shared_lastcall = 0;
+static int shared_lastcall = 1;
 
 /*! \brief Subscription to device state change events */
 static struct ast_event_sub *device_state_sub;

Modified: branches/1.8/configs/queues.conf.sample
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/configs/queues.conf.sample?view=diff&rev=287193&r1=287192&r2=287193
==============================================================================
--- branches/1.8/configs/queues.conf.sample (original)
+++ branches/1.8/configs/queues.conf.sample Thu Sep 16 16:57:51 2010
@@ -10,7 +10,7 @@
 persistentmembers = yes
 ;
 ; AutoFill Behavior
-;    The old/current behavior of the queue has a serial type behavior
+;    The old behavior of the queue (autofill=no) is to have a serial type behavior
 ;    in that the queue will make all waiting callers wait in the queue
 ;    even if there is more than one available member ready to take
 ;    calls until the head caller is connected with the member they
@@ -23,10 +23,9 @@
 ;    no more available members or no more waiting callers. This is
 ;    probably more along the lines of how a queue should work and
 ;    in most cases, you will want to enable this behavior. If you
-;    do not specify or comment out this option, it will default to no
-;    to keep backward compatibility with the old behavior.
-;
-autofill = yes
+;    do not specify or comment out this option, it will default to yes.
+;
+;autofill = no
 ;
 ; Monitor Type
 ;    By setting monitor-type = MixMonitor, when specifying monitor-format
@@ -56,11 +55,11 @@
 ; example: Queue(dave,t,,,45)
 
 ; shared_lastcall will make the lastcall and calls received be the same in
-; members logged in more than one queue.
-; This is useful to make the queue respect the wrapuptime of another queue
-; for a shared member
-;
-shared_lastcall=no
+; members logged in more than one queue.  This is useful to make the queue
+; respect the wrapuptime of another queue for a shared member.
+; The default value is yes.
+;
+;shared_lastcall=no
 ;
 ;[markq]
 ;




More information about the asterisk-commits mailing list