diff options
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index fd5fb885e..d94625d83 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -345,7 +345,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu *allowredir_out = o->allowredirect_out; *allowdisconnect = o->allowdisconnect; } - } else if (o->chan == winner) { + } else if (o->chan && (o->chan == winner)) { f = ast_read(winner); if (f) { if (f->frametype == AST_FRAME_CONTROL) { |