From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 20 13:43:32 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 E3C4516A4DD for ; Thu, 20 Jul 2006 13:43:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28B8C43D46 for ; Thu, 20 Jul 2006 13:43:31 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.216.121.153] (HELO [10.0.0.249]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 240679859; Thu, 20 Jul 2006 15:43:29 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Thu, 20 Jul 2006 15:43:35 +0200 User-Agent: KMail/1.7 References: <200607201353.07686.dean@glasistre.hr> In-Reply-To: <200607201353.07686.dean@glasistre.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607201543.36573.hselasky@c2i.net> Cc: Subject: Re: noise when tallk to analog cordless 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: Thu, 20 Jul 2006 13:43:33 -0000 On Thursday 20 July 2006 13:53, Dean Benazic wrote: > Hi, i'm using cheep ($25) HFC-S ISDN to dial out from my home to the local > PSTN. using i4b and capi 1.6.1 on FreeBSD 6.1, asterisk... > > The problem is that I hear a loud noise when talking with other PSTN > clients who have classic analog cordless phones, when talking louder the > noise is louder and no noise when the line is silent. Do you know if the PSTN network in your country use a-law ? > /usr/local/etc/asterisk/capi.conf > > nationalprefix=0 > internationalprefix=00 What happens if you set rxgain/txgain=1.0 ? > rxgain=1.20 > txgain=1.20 > > ;ulaw=yes ;set this, if you live in u-law world instead of a-law > debug=no ;set this, if capi debugging should be enabled by default > > [ISDN1] > > ntmode=yes ; note that this does NOT switch the card to NT-mode! > isdnmode=did ; note that NT-mode should use "did" > incomingmsn=* ; all numbers accepted > controller=0 > group=1 ;dialout group > ; > ; If you want to use DTMF operated services on your external > ; ISDN network, you have to disable softdtmf until further. > ; Disabling softdtmf will cause the Asterisk demo to not work, > ; except that one gets the sound. > ; > softdtmf=off > > ; relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf > detection accountcode=1 ;Asterisk accountcode to use in CDRs > context=isdn_in_nt ;context for incoming calls > holdtype=local ;when Asterisk puts the call on hold, ISDN HOLD will be > used. If > ;set to 'local' (default value), no hold is done and > Asterisk may You only need to use one of "echosquelch=1" and "echocancel=yes". Try commenting out "echosquelch=1". > ;play MOH. > ;immediate=yes ;immediate start of pbx with extension 's' if no digits > were ;received on incoming call (no destination number yet) > echosquelch=1 > ; primitive echo suppression (it is recommended to use this) > ;echo_offset=32 ; units of 32 milliseconds (default) > echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation > ;(possible values: 'no', 'yes', 'force', 'g164', 'g165') > ;echocancelold=6 ;use facility selector 6 instead of correct 8 (necessary > for older eicon drivers) > devices=2 ;number of concurrent calls on this controller > digit_timeout=25 ;number of seconds to wait for additional digits > --HPS