Benjamin Sebbah
2006-Jun-29 02:16 UTC
[Asterisk-Users] Very bad quality with AVM Fritz!card PCI and chan_capi
Hi everyone, I have Asterisk SVN-trunk-r7498 running for a few months and I'm quite happy with it. However, I am experiencing a quality issue with my AVM Fritz!card PCI which is used with chan_capi. When somebody calls me on this line he hears a lot of noise and I hear "scratches" and "plops". It is very annoying. Below is is my /etc/asterisk/capi.conf I've tried to play with echotail and echosquelch but the quality is always terrible. Any suggestion is welcomed. Thanks, Ben </etc/asterisk/capi.conf> [general] rxgain=0.5 txgain=0.5 language=fr ;set default language ;ulaw=yes ;set this, if you live in u-law world instead of a-law [ISDN1] isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial) ;when using NT-mode, 'DID' should be set in any case incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any controller=1 ;capi controller number to use group=9 ;dialout group softdtmf=on ;enable/disable software dtmf detection, recommended for AVM cards relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf detection accountcode= ;Asterisk accountcode to use in CDRs context=capi-in ;context for incoming calls ;echosquelch=2 ;_VERY_PRIMITIVE_ echo suppression echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation ;(possible values: 'no', 'yes', 'force', 'g164', 'g165') echocancelold=no ;use facility selector 6 instead of correct 8 (necessary for older eicon drivers) echotail=128 ;echo cancel tail setting devices=2 ;number of concurrent calls on this controller ;(2 makes sense for single BRI, 30 for PRI)
Armin Schindler
2006-Jun-29 02:48 UTC
[Asterisk-Users] Very bad quality with AVM Fritz!card PCI and chan_capi
On Thu, 29 Jun 2006, Benjamin Sebbah wrote:> Hi everyone, > > I have Asterisk SVN-trunk-r7498 running for a few months and I'm quite > happy with it. However, I am experiencing a quality issue with my AVM > Fritz!card PCI which is used with chan_capi. When somebody calls me on > this line he hears a lot of noise and I hear "scratches" and "plops". It > is very annoying. Below is is my /etc/asterisk/capi.conf > I've tried to play with echotail and echosquelch but the quality is > always terrible. > > Any suggestion is welcomed.echotail is for hardare-echo-cancel only (e.g. Eicon Diva Server) and does not change anything for AVM card. Did you try to disable echosquelch? Why did you set rx/txgain to 0.5 ? Most people use 0.8, but I use no gain by setting it to 1.0, which works here good. Armin> Thanks, > > Ben > > </etc/asterisk/capi.conf> > [general] > rxgain=0.5 > txgain=0.5 > language=fr ;set default language > ;ulaw=yes ;set this, if you live in u-law world instead of a-law > [ISDN1] > > isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial) > ;when using NT-mode, 'DID' should be set in any case > incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any > controller=1 ;capi controller number to use > group=9 ;dialout group > softdtmf=on ;enable/disable software dtmf detection, recommended > for AVM cards > relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf > detection > accountcode= ;Asterisk accountcode to use in CDRs > context=capi-in ;context for incoming calls > ;echosquelch=2 ;_VERY_PRIMITIVE_ echo suppression > echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation > ;(possible values: 'no', 'yes', 'force', 'g164', 'g165') > echocancelold=no ;use facility selector 6 instead of correct 8 > (necessary for older eicon drivers) > echotail=128 ;echo cancel tail setting > devices=2 ;number of concurrent calls on this controller > ;(2 makes sense for single BRI, 30 for PRI) > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Mimmus
2006-Jun-29 02:55 UTC
[Asterisk-Users] Very bad quality with AVM Fritz!card PCI andchan_capi
> Why did you set rx/txgain to 0.5 ? Most people use 0.8, but I > use no gain by setting it to 1.0, which works here good.Does anyone know if you need to set rx/txgain to 0.0 to disable gain... or it is a percent value... DV
Benjamin Sebbah
2006-Jun-29 03:19 UTC
[Asterisk-Users] Very bad quality with AVM Fritz!card PCI and chan_capi
----- Original Message ----- From: Armin Schindler <armin@melware.de> Date: Thursday, June 29, 2006 11:48 am Subject: Re: [Asterisk-Users] Very bad quality with AVM Fritz!card PCI and chan_capi> On Thu, 29 Jun 2006, Benjamin Sebbah wrote: > > Hi everyone, > > > > I have Asterisk SVN-trunk-r7498 running for a few months and I'm > quite> happy with it. However, I am experiencing a quality issue > with my AVM > > Fritz!card PCI which is used with chan_capi. When somebody calls > me on > > this line he hears a lot of noise and I hear "scratches" and > "plops". It > > is very annoying. Below is is my /etc/asterisk/capi.conf > > I've tried to play with echotail and echosquelch but the quality is > > always terrible. > > > > Any suggestion is welcomed. > > echotail is for hardare-echo-cancel only (e.g. Eicon Diva Server) > and does > not change anything for AVM card. > Did you try to disable echosquelch? > > Why did you set rx/txgain to 0.5 ? Most people use 0.8, but I use > no gain by setting it to 1.0, which works here good. > > ArminThanks for the answer, I did try to disable equosquelch but it doesn't change anything (by the way it is disabled right now). To see if the noise was a gain issue I tried to modify rx/txgain to see if it changed anything but it didn't so I let those two values at 0.5 Any other idea? Ben> > > Thanks, > > > > Ben > > > > </etc/asterisk/capi.conf> > > [general] > > rxgain=0.5 > > txgain=0.5 > > language=fr ;set default language > > ;ulaw=yes ;set this, if you live in u-law world instead of > a-law > > [ISDN1] > > > > isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct > inward dial) > > ;when using NT-mode, 'DID' should be set in any > case> incomingmsn=* ;allow incoming calls to this list of > MSNs/DIDs, * = any > > controller=1 ;capi controller number to use > > group=9 ;dialout group > > softdtmf=on ;enable/disable software dtmf detection, > recommended> for AVM cards > > relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf > > detection > > accountcode= ;Asterisk accountcode to use in CDRs > > context=capi-in ;context for incoming calls > > ;echosquelch=2 ;_VERY_PRIMITIVE_ echo suppression > > echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation > > ;(possible values: 'no', 'yes', 'force', 'g164', > 'g165')> echocancelold=no ;use facility selector 6 instead of > correct 8 > > (necessary for older eicon drivers) > > echotail=128 ;echo cancel tail setting > > devices=2 ;number of concurrent calls on this controller > > ;(2 makes sense for single BRI, 30 for PRI) > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Benjamin Sebbah
2006-Jun-29 04:18 UTC
[Asterisk-Users] Very bad quality with AVM Fritz!card PCI and chan_capi
> On Thu, 29 Jun 2006, Benjamin Sebbah wrote: > > ----- Original Message ----- > > From: Armin Schindler <armin@melware.de> > > Date: Thursday, June 29, 2006 11:48 am > > Subject: Re: [Asterisk-Users] Very bad quality with AVM > Fritz!card PCI > > and chan_capi > > > > > On Thu, 29 Jun 2006, Benjamin Sebbah wrote: > > > > Hi everyone, > > > > > > > > I have Asterisk SVN-trunk-r7498 running for a few months and > I'm > > > quite> happy with it. However, I am experiencing a quality > issue > > > with my AVM > > > > Fritz!card PCI which is used with chan_capi. When somebody > calls > > > me on > > > > this line he hears a lot of noise and I hear "scratches" and > > > "plops". It > > > > is very annoying. Below is is my /etc/asterisk/capi.conf > > > > I've tried to play with echotail and echosquelch but the > quality is > > > > always terrible. > > > > > > > > Any suggestion is welcomed. > > > > > > echotail is for hardare-echo-cancel only (e.g. Eicon Diva > Server) > > > and does > > > not change anything for AVM card. > > > Did you try to disable echosquelch? > > > > > > Why did you set rx/txgain to 0.5 ? Most people use 0.8, but I > use > > > no gain by setting it to 1.0, which works here good. > > > > > > Armin > > > > Thanks for the answer, I did try to disable equosquelch but it > doesn't> change anything (by the way it is disabled right now). To > see if the > > noise was a gain issue I tried to modify rx/txgain to see if it > changed> anything but it didn't so I let those two values at 0.5 > > > > Any other idea? > > Maybe the card/driver has a problem. IRQ issue? > > ArminThat is possible, how could I check that? I can see that IRQ 17 is shared between eth0 and my fritz!card but I don't know if it changes anything: ~# cat /proc/interrupts CPU0 0: 1458224031 IO-APIC-edge timer 1: 953 IO-APIC-edge i8042 7: 0 IO-APIC-edge parport0 8: 1 IO-APIC-edge rtc 9: 1 IO-APIC-level acpi 14: 689691 IO-APIC-edge ide0 15: 24 IO-APIC-edge ide1 16: 1457845530 IO-APIC-level uhci_hcd:usb1, wctdm 17: 721402147 IO-APIC-level fcpci, eth0 18: 1457844720 IO-APIC-level uhci_hcd:usb3, wctdm 19: 0 IO-APIC-level uhci_hcd:usb2 23: 0 IO-APIC-level ehci_hcd:usb4 NMI: 0 LOC: 1458419318 ERR: 0 MIS: 0 Benjamin> > > > > > > > > > Thanks, > > > > > > > > Ben > > > > > > > > </etc/asterisk/capi.conf> > > > > [general] > > > > rxgain=0.5 > > > > txgain=0.5 > > > > language=fr ;set default language > > > > ;ulaw=yes ;set this, if you live in u-law world > instead of > > > a-law > > > > [ISDN1] > > > > > > > > isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' > (direct > > > inward dial) > > > > ;when using NT-mode, 'DID' should be set in > any > > > case> incomingmsn=* ;allow incoming calls to this list of > > > MSNs/DIDs, * = any > > > > controller=1 ;capi controller number to use > > > > group=9 ;dialout group > > > > softdtmf=on ;enable/disable software dtmf detection, > > > recommended> for AVM cards > > > > relaxdtmf=on ;in addition to softdtmf, you can use > relaxed dtmf > > > > detection > > > > accountcode= ;Asterisk accountcode to use in CDRs > > > > context=capi-in ;context for incoming calls > > > > ;echosquelch=2 ;_VERY_PRIMITIVE_ echo suppression > > > > echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation > > > > ;(possible values: 'no', 'yes', 'force', > 'g164', > > > 'g165')> echocancelold=no ;use facility selector 6 instead of > > > correct 8 > > > > (necessary for older eicon drivers) > > > > echotail=128 ;echo cancel tail setting > > > > devices=2 ;number of concurrent calls on this controller > > > > ;(2 makes sense for single BRI, 30 for PRI) > > > > > > > > _______________________________________________ > > > > --Bandwidth and Colocation provided by Easynews.com -- > > > > > > > > Asterisk-Users mailing list > > > > To UNSUBSCRIBE or update options visit: > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > _______________________________________________ > > > --Bandwidth and Colocation provided by Easynews.com -- > > > > > > Asterisk-Users mailing list > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >