Merge "app_queue: Frequent segfaults in function can_ring_entry()"

changes/44/2644/3
Joshua Colp 10 years ago committed by Gerrit Code Review
commit 64b03ec702

@ -4189,7 +4189,7 @@ static int can_ring_entry(struct queue_ent *qe, struct callattempt *call)
return 0;
}
if (call->member->in_call && call->lastqueue->wrapuptime) {
if (call->member->in_call && call->lastqueue && call->lastqueue->wrapuptime) {
ast_debug(1, "%s is in call, so not available (wrapuptime %d)\n",
call->interface, call->lastqueue->wrapuptime);
return 0;

Loading…
Cancel
Save