Skip to content
Snippets Groups Projects
Commit 7f886b4c authored by Mark Spencer's avatar Mark Spencer
Browse files

Clear acknowledged flag on hangup

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 601df243
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment