mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
Merge "app_queue: Frequent segfaults in function can_ring_entry()" into 13
This commit is contained in:
+1
-1
@@ -4164,7 +4164,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