From: Rodrigo Ramírez Norambuena Date: Mon, 29 Apr 2019 16:13:07 +0000 (-0400) Subject: app_queue: Set correct value by default for shared_lastcall X-Git-Tag: 17.0.0-rc1~90^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed615afb7e0d630a58feba569c657eadc6ddc0a9;p=thirdparty%2Fasterisk.git 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 --- 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 ;