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:
Mark Spencer 2005-09-11 17:01:10 +00:00
parent 1541e97afe
commit 961cd50bba
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}