]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_queue: Set correct value by default for shared_lastcall
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Mon, 29 Apr 2019 16:13:07 +0000 (12:13 -0400)
committerRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Mon, 29 Apr 2019 16:13:07 +0000 (12:13 -0400)
There a long history here:

In commit dd1e62c095c has introduce by default shared_lastcall = true by
default but this now only happen is there not [general] directive in
queues.conf

After that, the commit 4b50e3f1ee84ae29da6d9eb3cfd9896a49d2394b fix the
sample file.

We'll need to keep the same setting if there a general or not section in
configuration file since the shared_lastcall is by a long time in
sample files as default value to 'no'.

Change-Id: Id44faec370136df8d57902b453ad4059ed21b94c

apps/app_queue.c
configs/samples/queues.conf.sample

index 7cb26f0f244fc233c38dc042bfa1ffd10be5d38d..ddb34c97331b1d0f0a77d2658ca49c745a873629 100644 (file)
@@ -1478,7 +1478,7 @@ static int autofill_default = 1;
 static int montype_default = 0;
 
 /*! \brief queues.conf [general] option */
-static int shared_lastcall = 1;
+static int shared_lastcall = 0;
 
 /*! \brief queuesrules.conf [general] option */
 static int realtime_rules = 0;
index 79b656b75e68130ad8e172a2525af1b4496829fd..073ec498d18fdea1a9cc85212e9dccb6df1a4ee8 100644 (file)
@@ -59,7 +59,7 @@ monitor-type = MixMonitor
 ; respect the wrapuptime of another queue for a shared member.
 ; The default value is no.
 ;
-;shared_lastcall=no
+;shared_lastcall=yes
 ;
 ; Negative_penalty_invalid will treat members with a negative penalty as logged off
 ;