mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-29 23:39:35 +00:00
Merge "app_queue: Frequent segfaults in function can_ring_entry()"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user