diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-16 01:24:31 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-16 01:24:31 +0000 |
commit | 07af26e93d625bc5490307840575dd2b185f5652 (patch) | |
tree | e64a333efdee9f8c331f27dada7f08108876faf1 /apps/app_queue.c | |
parent | 15cfebbb488dc3c622128e5ec3104e7b61cfa35d (diff) |
Update has_no_members to know about device status codes (bug #2867)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4259 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 0a97cdf46..d620fb480 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -290,8 +290,8 @@ static int has_no_members(struct ast_call_queue *q) member = q->members; while(empty && member) { switch(member->status) { - case AST_CAUSE_NOSUCHDRIVER: - case AST_CAUSE_UNREGISTERED: + case AST_DEVICE_UNAVAILABLE: + case AST_DEVICE_INVALID: /* Not logged on, etc */ break; default: |