asterisk / asterisk

The official Asterisk Project repository.
https://www.asterisk.org
Other
1.97k stars 924 forks source link

[bug]: invalid queue strategy from realtime not properly handled #707

Closed seanbright closed 1 month ago

seanbright commented 1 month ago

Severity

Trivial

Versions

git

Components/Modules

app_queue

Operating Environment

N/A

Frequency of Occurrence

Constant

Issue Description

There is code in app_queue that attempts to substitute the ringall strategy in the event that an invalid queue strategy is provided via realtime. Unfortunately it doesn't work.

Relevant log output

WARNING[5303]: app_queue.c:3488 queue_set_param: 'mehmeh' isn't a valid strategy for queue 'foo', using ringall instead
...
foo has 0 calls (max unlimited) in '<unknown>' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0%, SL2:0.0% within 0s

Asterisk Issue Guidelines