dect
/
asterisk
Archived
13
0
Fork 0

Fix race in agent login

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1265 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-08-06 01:39:42 +00:00
parent 523dc634c3
commit ee36d6dd85
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ static struct ast_frame *agent_read(struct ast_channel *ast)
if (strlen(p->loginchan))
ast_hangup(p->chan);
p->chan = NULL;
p->acknowledged = 0;
}
}
if (f && (f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_ANSWER)) {