From owner-freebsd-isdn@FreeBSD.ORG Tue May 16 16:06:09 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B100B16A5DF for ; Tue, 16 May 2006 16:06:09 +0000 (UTC) (envelope-from dt@dtinnovations.com) Received: from dtserv.dtinnovations.com (dtserv.dtinnovations.com [212.20.164.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9130343D62 for ; Tue, 16 May 2006 16:05:51 +0000 (GMT) (envelope-from dt@dtinnovations.com) Received: from [212.20.180.34] (office.dinslaken.dtinnovations.com [212.20.180.34]) (authenticated bits=0) by dtserv.dtinnovations.com (8.13.4/8.13.4) with ESMTP id k4GG3wfC054210; Tue, 16 May 2006 18:03:59 +0200 (CEST) (envelope-from dt@dtinnovations.com) In-Reply-To: <200605161142.01292.hselasky@c2i.net> References: <0CDCE7F4-A7D2-4379-9560-516FFF3350C6@dtinnovations.com> <200605151403.47796.hselasky@c2i.net> <6F0386D8-FEB3-45F1-9C50-F0104D89D813@dtinnovations.com> <200605161142.01292.hselasky@c2i.net> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Dirk_Thannh=E4user?= Date: Tue, 16 May 2006 18:05:42 +0200 To: Hans Petter Selasky X-Mailer: Apple Mail (2.750) Cc: freebsd-isdn@freebsd.org Subject: Re: Sound delay in 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: Tue, 16 May 2006 16:06:18 -0000 On May 16, 2006, at 11:42 AM, Hans Petter Selasky wrote: > Hi, > > On Tuesday 16 May 2006 11:19, Dirk Thannh=E4user wrote: >> On May 15, 2006, at 2:03 PM, Hans Petter Selasky wrote: >>> On Monday 15 May 2006 12:20, Dirk Thannh=E4user wrote: >>>> On May 15, 2006, at 9:38 AM, Hans Petter Selasky wrote: >>> >> >> I played around a lot with changing numbers, but i was not able to >> get latency down. > >> Did you ever test with the asterisk echo test application? > > Yes, but only "ISDN-NT <-> Asterisk" Thats my also my current Test Area. When this works i'll also check =20 ISDN-TE <-> Asterisk > >> (maybe >> that latency is only here a problem) > > There is an Asterisk application called MixMonitor, than can be =20 > used to record > calls. > > http://www.voip-info.org/wiki/view/MixMonitor > > Try recording the call, in .wav format: > > exten =3D> ... , MixMonitor(my_file.wav) > > Then open up the wave file in a wave-file editor, or send it to me, =20= > and try > measure the echo delay. Thats interesting. I should give it a try. > >> Is it possible that there is a >> bug inside the application? > > There is a chance that "chan_capi.c" might be adding some extra =20 > delay to the > sound, when it bridges the call. You installed the latest chan_capi =20= > also? Yes. I did an upgreade to FreeBSD 6.1 an completely cleaned (removed =20 an installed) the /usr/src tree. After that i checked out your latest =20= revision of isdn4bsd and compiled/installed both i4b and chan_capi. > >> But on the other hand it worked fine with >> the zaptel drivers. > > The zaptel drivers interrupt every millisecond I think, to move =20 > data around. > If you want that low latency, buy a HFC-4S and enable line =20 > interconnect in > 'capi.conf'. > >> I think i will need more time to study sources :-) > > --HPS