Merged revisions 107173 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107173 | qwell | 2008-03-10 15:27:08 -0500 (Mon, 10 Mar 2008) | 5 lines

Make sure to reenable echo can after a "failed" (canceled, etc) three-way call.

(closes issue #11335)
Reported by: rebuild

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker 2008-03-10 20:28:33 +00:00
parent 0ee1f43b4a
commit 6477f207f1
1 changed files with 1 additions and 0 deletions

View File

@ -5150,6 +5150,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;