diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-10 20:27:08 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-10 20:27:08 +0000 |
commit | ad2dad921bbfcba24863f83a03d45b24d0b07a41 (patch) | |
tree | 2d769a6d53d474149b086a2a46e9c60334d7196b /channels/chan_zap.c | |
parent | 4490fc96f5a236f3b7bc244bf9ccae0c3348b986 (diff) |
Make sure to reenable echo can after a "failed" (canceled, etc) three-way call.
(closes issue #11335)
Reported by: rebuild
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107173 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 9d2400ec4..48d694f36 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -4571,6 +4571,7 @@ static struct ast_frame *__zt_exception(struct ast_channel *ast) update_conf(p); break; case ZT_EVENT_RINGOFFHOOK: + zt_enable_ec(p); zt_set_hook(p->subs[SUB_REAL].zfd, ZT_OFFHOOK); if (p->owner && (p->owner->_state == AST_STATE_RINGING)) { p->subs[SUB_REAL].needanswer = 1; |