diff options
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 904aebd6d..8bbf733dd 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2669,8 +2669,9 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte /* Got hung up */ *to = -1; if (f) { - if (f->seqno) - in->hangupcause = f->seqno; + if (f->data.uint32) { + in->hangupcause = f->data.uint32; + } ast_frfree(f); } return NULL; |