mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Add missing handling for ringing state for use with queue empty options.
(closes issue #17471) Reported by: jazzy Patches: app_queue.c.diff uploaded by jazzy (license 1056) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1212,6 +1212,11 @@ static int get_member_status(struct call_queue *q, int max_penalty, int min_pena
|
||||
break;
|
||||
}
|
||||
goto default_case;
|
||||
case AST_DEVICE_RINGING:
|
||||
if (conditions & QUEUE_EMPTY_RINGING) {
|
||||
ast_debug(4, "%s is unavailable because his device state is 'ringing'\n", member->membername);
|
||||
break;
|
||||
}
|
||||
case AST_DEVICE_UNKNOWN:
|
||||
if (conditions & QUEUE_EMPTY_UNKNOWN) {
|
||||
ast_debug(4, "%s is unavailable because his device state is 'unknown'\n", member->membername);
|
||||
|
||||
Reference in New Issue
Block a user