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:
1541e97
)
Don't allow callwait to happen during initial ringdown (bug #5188)
author
Mark Spencer
<markster@digium.com>
Sun, 11 Sep 2005 17:01:10 +0000
(17:01 +0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 11 Sep 2005 17:01:10 +0000
(17:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6561
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
2709b02
..
aae0455
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-7239,7
+7239,7
@@
static inline int available(struct zt_pvt *p, int channelmatch, int groupmatch,
}
if ((p->owner->_state != AST_STATE_UP) &&
- (p->owner->_state != AST_STATE_RINGING)) {
+ ((p->owner->_state != AST_STATE_RINGING) || p->outgoing)) {
/* If the current call is not up, then don't allow the call */
return 0;
}