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:
9f1fc03
)
Base ackcall on newly available agent, not the pending one
author
Mark Spencer
<markster@digium.com>
Thu, 4 Sep 2003 04:03:47 +0000
(
04:03
+0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 4 Sep 2003 04:03:47 +0000
(
04:03
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1469
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
1534f58
..
2f3b4cb
100755
(executable)
--- a/
channels/chan_agent.c
+++ b/
channels/chan_agent.c
@@
-788,7
+788,7
@@
static int check_availability(struct agent_pvt *newlyavailable, int needlock)
if (needlock)
ast_mutex_unlock(&agentlock);
if (parent && chan) {
- if (p->ackcall > 1) {
+ if (newlyavailable->ackcall > 1) {
/* Don't do beep here */
res = 0;
} else {