<br><div class="gmail_quote">On Mon, Jun 14, 2010 at 4:27 AM, Alec Davis <span dir="ltr"><<a href="mailto:sivad.a@paradise.net.nz">sivad.a@paradise.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
DAHDI Version: SVN-branch-2.2-r8678 Echo Canceller:<br>
<br>
OK with 1.6.2 SVN-branch-1.6.2-r270080M<br>
Fails with 1.4 SVN-branch-1.4-r269960M<br>
<br>
Adding line back as suggested fixes it for 1.4<br>
<br>
Diff below to fix 1.4<br>
Index: channels/chan_dahdi.c<br>
===================================================================<br>
--- channels/chan_dahdi.c (revision 270075)<br>
+++ channels/chan_dahdi.c (working copy)<br>
@@ -4532,6 +4532,7 @@<br>
<div class="im"> p->subs[index].f.frametype =<br>
AST_FRAME_CONTROL;<br>
p->subs[index].f.subclass =<br>
AST_CONTROL_ANSWER;<br>
/* Make sure it stops ringing */<br>
+ dahdi_set_hook(p->subs[index].dfd,<br>
DAHDI_OFFHOOK);<br>
p->subs[SUB_REAL].needringing = 0;<br>
ast_log(LOG_DEBUG, "channel %d<br>
answered\n", p->channel);<br>
if (p->cidspill) {<br>
<br>
<br>
<br>
</div><font color="#888888">Alec</font></blockquote><div><br></div><div>Yes, this was a mistake. Thanks for putting it back.</div><div><br></div><div>--</div><div>Jeff Peeler</div><div>Digium, Inc. | Software Developer</div>
<div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at <a href="http://www.digium.com">www.digium.com</a> & <a href="http://www.asterisk.org">www.asterisk.org</a> </div></div>