]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue.c: Add new global 'log_unpause_on_reason_change'
authorIgor Goncharovsky <igorg@iqtek.ru>
Tue, 2 Sep 2025 06:50:19 +0000 (12:50 +0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:27 +0000 (14:04 -0600)
commitc643e8929aa698a45d639ce6de083e0be0f40a9d
treefeffa3af784bef88e856aff2b74d3babf2f2a36a
parent140c6484a8238a81e8131c56a84ba8e54b4d009b
app_queue.c: Add new global 'log_unpause_on_reason_change'

In many asterisk-based systems, the pause reason is used to separate
pauses by type,and logically, changing the reason defines two intervals
that should be accounted for separately. The introduction of a new
option allows me to separate the intervals of operator inactivity in
the log by the event of unpausing.

UserNote: Add new global option 'log_unpause_on_reason_change' that
is default disabled. When enabled cause addition of UNPAUSE event on
every re-PAUSE with reason changed.

(cherry picked from commit f4e88b56e08ff3e701ff274e7150bc608eca80ed)
apps/app_queue.c
configs/samples/queues.conf.sample