projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601df24
)
Clear acknowledged flag on hangup
author
Mark Spencer
<markster@digium.com>
Mon, 4 Aug 2003 20:53:18 +0000
(20:53 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 4 Aug 2003 20:53:18 +0000
(20:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1258
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_agent.c
patch
|
blob
|
history
diff --git
a/channels/chan_agent.c
b/channels/chan_agent.c
index
45bbe05
..
8142387
100755
(executable)
--- a/
channels/chan_agent.c
+++ b/
channels/chan_agent.c
@@
-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);