Don't allow callwait to happen during initial ringdown (bug #5188)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
1541e97afe
commit
961cd50bba
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue