[asterisk-commits] qwell: branch 1.4 r107173 - /branches/1.4/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 10 15:27:08 CDT 2008


Author: qwell
Date: Mon Mar 10 15:27:08 2008
New Revision: 107173

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107173
Log:
Make sure to reenable echo can after a "failed" (canceled, etc) three-way call.

(closes issue #11335)
Reported by: rebuild

Modified:
    branches/1.4/channels/chan_zap.c

Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=107173&r1=107172&r2=107173
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Mon Mar 10 15:27:08 2008
@@ -4571,6 +4571,7 @@
 			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;




More information about the asterisk-commits mailing list