diff options
author | Mark Spencer <markster@digium.com> | 2003-07-28 14:24:10 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-07-28 14:24:10 +0000 |
commit | e2ca759d56379f350a11faf964083aa2b6f144d0 (patch) | |
tree | e1d2be3dcbaf0fb12cc963c7eb5af55760b0ecd1 /apps/app_queue.c | |
parent | 6b3938f2f26cd3f98be1edc4656aaf984b73b21c (diff) |
Add wrapup time
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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) { |