From ed615afb7e0d630a58feba569c657eadc6ddc0a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rodrigo=20Ram=C3=ADrez=20Norambuena?= Date: Mon, 29 Apr 2019 12:13:07 -0400 Subject: [PATCH] app_queue: Set correct value by default for shared_lastcall 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 | 2 +- configs/samples/queues.conf.sample | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 7cb26f0f24..ddb34c9733 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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; diff --git a/configs/samples/queues.conf.sample b/configs/samples/queues.conf.sample index 79b656b75e..073ec498d1 100644 --- a/configs/samples/queues.conf.sample +++ b/configs/samples/queues.conf.sample @@ -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 ; -- 2.47.2