app_queue: Set correct value by default for shared_lastcall

There a long history here:

In commit dd1e62c095 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 4b50e3f1ee 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
pull/13/head
Rodrigo Ramírez Norambuena 6 years ago
parent 4f69ea928a
commit ed615afb7e

@ -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;

@ -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
;

Loading…
Cancel
Save