[svn-commits] alecdavis: branch 1.4 r270404 - /branches/1.4/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 14 19:16:07 CDT 2010


Author: alecdavis
Date: Mon Jun 14 19:16:03 2010
New Revision: 270404

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=270404
Log:
fixes FXS port still ringing when answered, as reported by Tzafrir on dev-list.

(issue #16638)
Reported by: tzafrir
Tested by: alecdavis


Modified:
    branches/1.4/channels/chan_dahdi.c

Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=270404&r1=270403&r2=270404
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Mon Jun 14 19:16:03 2010
@@ -4532,6 +4532,7 @@
 					p->subs[index].f.frametype = AST_FRAME_CONTROL;
 					p->subs[index].f.subclass = AST_CONTROL_ANSWER;
 					/* Make sure it stops ringing */
+					dahdi_set_hook(p->subs[index].dfd, DAHDI_OFFHOOK);
 					p->subs[SUB_REAL].needringing = 0;
 					ast_log(LOG_DEBUG, "channel %d answered\n", p->channel);
 					if (p->cidspill) {




More information about the svn-commits mailing list