Clear acknowledged flag on hangup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1258 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
24836373d7
commit
a7aaed5162
|
@ -390,6 +390,7 @@ static int agent_hangup(struct ast_channel *ast)
|
|||
if (p->chan) {
|
||||
/* If they're dead, go ahead and hang up on the agent now */
|
||||
if (strlen(p->loginchan)) {
|
||||
p->acknowledged = 0;
|
||||
if (p->chan) {
|
||||
/* Recognize the hangup and pass it along immediately */
|
||||
ast_hangup(p->chan);
|
||||
|
|
Reference in New Issue