From owner-freebsd-isdn@FreeBSD.ORG Wed Jun 6 13:20:46 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 358C716A400 for ; Wed, 6 Jun 2007 13:20:46 +0000 (UTC) (envelope-from support@wanagain.net) Received: from mx1.wanagain.net (mx1.wanagain.net [62.244.101.75]) by mx1.freebsd.org (Postfix) with ESMTP id DB5B813C458 for ; Wed, 6 Jun 2007 13:20:45 +0000 (UTC) (envelope-from support@wanagain.net) Received: from localhost (localhost [127.0.0.1]) by mx1.wanagain.net (Postfix) with ESMTP id C546211F95A for ; Wed, 6 Jun 2007 15:20:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at wanagain.net Received: from mx1-2.wanagain.net ([62.244.101.87]) by localhost (mx1.wanagain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y3vHnymRLRud for ; Wed, 6 Jun 2007 15:20:44 +0200 (CEST) Received: from [192.168.199.13] (newton.wanagain.net [62.244.101.4]) by mx1-2.wanagain.net (Postfix) with ESMTP id 890D111F881 for ; Wed, 6 Jun 2007 15:20:44 +0200 (CEST) Message-ID: <4666B4AB.4090908@wanagain.net> Date: Wed, 06 Jun 2007 15:20:43 +0200 From: Mikael Batard Organization: Wan Again User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <4665CAFA.3080801@wanagain.net> <200706060916.48120.hselasky@c2i.net> <46667DD4.3010609@wanagain.net> <200706061455.21425.hselasky@c2i.net> In-Reply-To: <200706061455.21425.hselasky@c2i.net> X-Enigmail-Version: 0.95.0 OpenPGP: id=DB9FAEE8 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 13:20:46 -0000 On 06.06.2007 14:55, Hans Petter Selasky wrote : > On Wednesday 06 June 2007 11:26, Mikael Batard wrote: >> On 06.06.2007 09:16, Hans Petter Selasky wrote : >>> This entry should be under "double_clock" = 0. >> OK, why ? > > It related to the X-tal used with the chip. OK >>> You need to use "chan_capi" from the SVN repo, and not "zaptel", to get >>> the ISDN cards detected under Asterisk. Also I4B has a new Fast Fourier >>> Transform Based Acoustic Echo Canceller. Did you try that? >> Didn't try yet, how does it work ? > > In the file: > > /usr/src/sys/i4b/include/i4b_global.h > > You can set: > > #define I4B_ECHO_CANCEL_P_COMPLEX (9) > > to 10, to cancel more of the far echo. After changing this variable you have > to recompile the kernel. > > Use "isdnconfig -u 8 -c 1 dump_ec" and "isdnconfig -u 8 -c 2 dump_ec" to dump > the Echo Cancel FIR filter directly to Matlab or Octave. OK, I'm gonna try this later, but not on the Digium b410p, because this card has an hardware echo cancellation. So I'll enable this on the cheap Passive ISDN BRI card. >> My capi.conf (ISDN1 = Passive ISDN BRI, ISDN2 = Digium B410P): >> >> [general] >> >> nationalprefix=0 >> internationalprefix=00 >> rxgain=0.8 >> txgain=0.8 >> alaw=yes >> >> [ISDN1] >> >> isdnmode=msn >> incomingmsn=* >> controller=0 >> group=1 >> softdtmf=1 >> relaxdtmf=on >> accountcode= >> context=capi-in >> holdtype=local >> echocancel=yes >> echosquelch=no >> devices=2 >> dtmf_generate=yes >> >> >> [ISDN2] >> >> isdnmode=MSN >> incomingmsn=* >> controller=8 >> group=1 >> softdtmf=0 >> relaxdtmf=off >> accountcode= >> context=capi-in >> holdtype=local >> echocancel=yes >> echosquelch=no >> devices=2 >> > > Config looks OK. > > You might want to use "bridge=yes" if you want that calls should be bridged in > hardware on the HFC-4S. OK thanks. Regards, -- Mikael Batard Wan Again 12 Route de l'Isle 84510 Caumont sur Durance Tel: +33 (0)4 90 01 26 86 Fax: +33 (0)4 90 23 58 05 http://www.wanagain.fr/