diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-11 17:01:10 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-11 17:01:10 +0000 |
commit | 3239797c9e89cf058695d44098fa6884e58d97cb (patch) | |
tree | 9734d2efc1ea75daa18aa6c92acf23d25f3802f0 | |
parent | 09bcbc1741bfe87428f7307a890d03a9a4a66e3a (diff) |
Don't allow callwait to happen during initial ringdown (bug #5188)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6561 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 2709b02d9..aae045549 100755 --- 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; } |