noise when tallk to analog cordless

Hans Petter Selasky hselasky at c2i.net
Thu Jul 20 13:43:33 UTC 2006


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


More information about the freebsd-isdn mailing list