aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-04 19:24:54 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-04 19:24:54 +0000
commit87b28286de2adddf6b232033f20d590dae45c93c (patch)
tree848bbbb038870986cfa6620b4e3efb5735775a79 /apps/app_queue.c
parentccdf3b5b85a3b5511ce0fb2ed498d5cf90e0cb1c (diff)
Merged revisions 306356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r306356 | qwell | 2011-02-04 13:24:29 -0600 (Fri, 04 Feb 2011) | 16 lines Merged revisions 306346 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r306346 | qwell | 2011-02-04 13:21:43 -0600 (Fri, 04 Feb 2011) | 9 lines Don't fallthrough to 'unknown' in the 'ringing' case. This could cause improper exits from the queue. (closes issue #18499) Reported by: zaltar Patches: app_queue.patch uploaded by zaltar (license 1148) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@306359 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 553d57aa7..2eec835ee 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1383,6 +1383,7 @@ static int get_member_status(struct call_queue *q, int max_penalty, int min_pena
ast_debug(4, "%s is unavailable because his device state is 'ringing'\n", member->membername);
break;
}
+ goto default_case;
case AST_DEVICE_UNKNOWN:
if (conditions & QUEUE_EMPTY_UNKNOWN) {
ast_debug(4, "%s is unavailable because his device state is 'unknown'\n", member->membername);