-
Notifications
You must be signed in to change notification settings - Fork 1.2k
app_queue: Account for priority when forcing longest waiting caller. #1640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
app_queue: Account for priority when forcing longest waiting caller. #1640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Checklist Complete
|
Workflow PRCheck completed successfully |
|
cherry-pick-to: 23 |
Pull Request Checklist Complete
jcolp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a substantial enough change that an UpgradeNote should be added to the commit message to notify people of it.
Check priority first when determining which caller is waiting the longest, so that callers with higher priority will always ring first even if they have less wait time. Resolves: asterisk#1637 UpgradeNote: The force_longest_waiting_caller option now takes call priority into account. Calls are offered by priority first, then by wait time.
504af35 to
8292a06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Checklist Complete
|
Workflow PRCheck completed successfully |
jcolp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sample configuration also needs to be updated. Right now the behavior is explicitly stated that it is longest waiting caller, it makes no mention of priority being considered.
I think that also raises a question I would like feedback from others on. This changes the existing option behavior and goes counter to what it has been. From a least surprise perspective I wonder if this new behavior should be opt-in only so existing users are not taken off guard when things change.
Pull Request Checklist Complete
Check priority first when determining which caller is waiting the longest, so that callers with higher priority will always ring first even if they have less wait time.
Resolves: #1637
UpgradeNote: The force_longest_waiting_caller option now takes call priority into account. Calls are offered by priority first, then by wait time.