]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Fix raise_respect_min lost in copy_rules() breaking rN queue rules
authorphoneben <3232963@gmail.com>
Sun, 26 Apr 2026 20:34:00 +0000 (23:34 +0300)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 28 Apr 2026 16:28:26 +0000 (16:28 +0000)
commitcef63b761f437eb4c8e3d7e26b74485f3d91c7eb
tree84868f3112f1d8b4fbfe494279c6bee99bf1da8a
parent9e5f769e804fe66b44e6005fe9787f3289c854e8
app_queue: Fix raise_respect_min lost in copy_rules() breaking rN queue rules

app_queue: Fix raise_respect_min not copied in copy_rules() causing rN rules to be ignored.

`copy_rules()` never copied `raise_respect_min` into the per-call rule list, so the flag was always 0 when a timed penaltychange rule fired, making `rN` behave like plain `N` and raising members below `min_penalty` that should have been excluded.

Also fixes `update_qe_rule()` not propagating the flag from `qe->pr` to `qe`, and dropping the `r` prefix when saving back to `QUEUE_RAISE_PENALTY`.

Resolves: #1901
apps/app_queue.c