mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Add wrapup time
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user