Chris Stenton
2004-Jun-24 09:10 UTC
[Asterisk-Users] X101P on a UK BT line ---- txgain issue
I am finding that I have to increase the txgain in zapata.conf to 8 when my X101P is connected to my BT phone line, otherwise people can hardly hear me. This then gives echo issues. Do other people have the same problem on BT lines. I was wondering if I should give BT a call and get them to increase the gain on the line. Strange though as the rxgain is OK and I don't have this problem with an ordinary phone. Chris
> I am finding that I have to increase the txgain in zapata.conf to 8 when > my X101P is connected to my BT phone line, otherwise people can hardly > hear me. This then gives echo issues.Im having the same issue so far im on rxgain=2.0 and txgain=6.0. Seems to work perfectly apart from the echo issue. Im just about to checkout the latest cvs and apply the echotraining=800 Kind Regards, Chris Bond
Lee Norvall
2004-Jun-24 10:12 UTC
[Asterisk-Users] X101P on a UK BT line ---- txgain issue
I am having the same, some people can just about hear me while others do not say a thing or it is fine. I can hear them fine. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Chris Stenton Sent: 24 June 2004 17:11 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] X101P on a UK BT line ---- txgain issue I am finding that I have to increase the txgain in zapata.conf to 8 when my X101P is connected to my BT phone line, otherwise people can hardly hear me. This then gives echo issues. Do other people have the same problem on BT lines. I was wondering if I should give BT a call and get them to increase the gain on the line. Strange though as the rxgain is OK and I don't have this problem with an ordinary phone. Chris _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Chris Stenton wrote:> I am finding that I have to increase the txgain in zapata.conf to 8 when my > X101P is connected to my BT phone line, otherwise people can hardly hear me. > This then gives echo issues. > > Do other people have the same problem on BT lines. I was wondering if I > should give BT a call and get them to increase the gain on the line. Strange > though as the rxgain is OK and I don't have this problem with an ordinary > phone. > >Yes I have this too (BT LINE), I upped mine to 10 in order that other people could hear me without a problem. I can hear them fine. Chris.
Whisker, Peter
2004-Jun-25 07:00 UTC
[Asterisk-Users] X101P on a UK BT line ---- txgain issue
I get a problem with what appears to be a slow oscillation on the line if the rxgain + txgain adds up to more than -1db. If I use rxgain=-1.0 and txgain=0.0, it doesn't oscillate but the levels are far too low. The card is an X100P. The oscillation (even on the standard built-in Asterisk echo test) comes over as a loud hiss and crackle at about 1-2 per second making the line unusable. I have tried the settings below and it is dreadful. Any ideas? I am using yesterday's CVS Head. Peter -----Original Message----- From: Chris Bond [mailto:chris@logics.co.uk] Sent: 24 June 2004 18:03 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] X101P on a UK BT line ---- txgain issue> I am finding that I have to increase the txgain in zapata.conf to 8 when > my X101P is connected to my BT phone line, otherwise people can hardly > hear me. This then gives echo issues.Im having the same issue so far im on rxgain=2.0 and txgain=6.0. Seems to work perfectly apart from the echo issue. Im just about to checkout the latest cvs and apply the echotraining=800 Kind Regards, Chris Bond _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Whisker, Peter
2004-Jun-25 07:55 UTC
[Asterisk-Users] X101P on a UK BT line ---- txgain issue
BT do occasionally tweak up line gain a bit if you keep complaining that you have a modem and are getting a very slow speed. I have had a 40k V90 come up to 48k after this was done on my line at home (System X switch). You have to get a sympathetic engineer though - frequently they will tell you that it can't be done. Peter -----Original Message----- From: Rich Adamson [mailto:radamson@routers.com] Sent: 25 June 2004 14:33 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] X101P on a UK BT line ---- txgain issue> > I do get echo, lots of it, I am waiting until the new patch they > > are all on about on the list gets into a stable release, then I > > will upgrade and see if that does the trick.Not likely the patch will get applied to the Stable release since its been stated several times that's all but dead.> The patch didn't seem to work for me. > > > I am told that some of the echo may be to do with a mismatch in the > > impedance with the BT line.There are at least several sources of echo, which have been noted several times in the past six months or so: a. echo can in * not functioning correctly in some circumstances (patch) b. mismatched x100p -> pstn line c. pstn line problems (eg, imbalance between tip/ring and ground) d. 2-wire to 4-wire conversion along the end-to-end voice path Any single pstn line could have one or more of those happening.> Problem is do we really want BT messing with gain there end and impedance > cos it might mess our ADSL lines up =) I know im on the limits.The telco isn't going to mess with changing impedance on their stuff as that would require re-engineering their entire outside plant (cables), line interfaces within the CO, etc. You couldn't pay them enough money to do it. Its also highly unlikely they have any technician adjustable transmission level adjustments on ordinary pstn CO line interfaces, as those are engineered to 'standards', and manufacturing engineers typically don't want support technicians to muck with those for lots of very valid reasons. I'm in the US and don't have any real clue what the UK standards are for impedance, transmission levels, etc. (It would be somewhat interesting to here from someone who knows for sure what those are.) The x100p card (from digium) uses the Silicon Labs ( www.silabs.com ) 3012 chip to interface with the pstn line, the 3021 chip to interface the 3012 (analog-to-digital converter) to the Tigerjet PCI controller. The 3012 is responsible for matching pstn line impedance. The spec sheets at their site tend to suggest the 3012 was built to interface to 600 ohm pstn lines and is not adjustable/setable to other values. If the UK pstn lines are not 600 ohm impedance, then its unlikely the x100p is going to properly match up with UK lines from an impedance matching perspective. However, imedance mismatches have to be rather dramatic to cause a lot of echo. The tdm fxo module uses the 3019 and 3050 chipset, where the 3019 pstn line interface chip has many different pstn line impedance settings including 600, 900, 270, 220, 370, 320, 275, 120, 350, etc, ohms. Have no clue which countries use which settings, but obviously Silicon Labs intended this chip set to operate in different countries, whereas the 3012 spec sheet doesn't seem to support those objectives. So, backing into exactly what is causing the echo in the three UK cases noted yesterday on this list... - not likely to be "d" (2-wire to 4-wire conversion along the end-to-end voice path) as that would impact all telco users, not just * users. - item "c" (pstn line problems) can contribute to echo depending upon how bad the pstn line actually happens to be. Most telco's have the equipment to measure line quality, however most will stop at the cable entrance to your home/business, leaving you to guess at what's happening inside. - item "b" (mismatched x100p -> pstn line) can contribute, but without knowing the exact specs (and probably more info from Silicon Labs), its impossible to guess at this one. - item "a" (echo can in *) is still a very real possibility, and Mark is about the only person I know of that has the knowledge of the spec's and * to weight in on this one. One of the methods that I used to help determine whether my tdm echo was a pstn line or * issue was to eval echo on three different pstn lines using the exact same physical * port (x100p). If the lines are clean from an analog phone perspective (eg, no hum, no noise) and the lines cause equal echo when used with *, then its highly likely the issue is either "a" or "b". If the answers to "b" rule out impedance mismatches, then "a" is likely. Why? Your not likely to have multiple pstn lines with exactly the same fault. (Could happen but not likely.) Second, if your pstn line is also a DSL line with appropriate filters, the DSL line is far more critical of pstn imperfections then is the * interface to the analog pstn line. In the majority of cases, a poor pstn line will cause significantly more DSL problems and probably a total DSL failure way before the pstn analog path is impacted. Third, I obtained a Mediatrix 1204 sip gateway to displace the x100p's to eliminate the echo. It worked fine (zero echo) on all three lines, essentially proving the pstn lines were not the issue causing echo. After that test, there was nothing left other then * echo can functions (which turned out to be the case with my tdm fxo _and_ CO operation, and resulted in this recent patch). Given that Mark has been successful at eliminating 95%+ of the echo on the tdm fxo module, it proves the algorithm in use within * is very reasonable. The algorithm is not sensitive to which "country" it happens to be running in, but "how" that algorithm is applied to UK pstn lines is suspicious. I'd suggest someone in the UK with echo problem go through the logic above to rule out as many items as possible, and then try to coordinate some of Mark's time (in advance) to help resolve the last item. Do that via opening a Bug report, include as much factual detail as possible, and be ready on the IRC channel. Rich _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Chris Stenton
2004-Jun-26 03:35 UTC
[Asterisk-Users] X101P on a UK BT line ---- txgain issue
Is opermode set via asterisk or do you need to do modprobe wcfxs opermode=UK chris ----- Original Message ----- From: "Nicolas Gudino" <nicolas@house.com.ar> To: <asterisk-users@lists.digium.com> Sent: Saturday, June 26, 2004 12:43 AM Subject: Re: [Asterisk-Users] X101P on a UK BT line ---- txgain issue> Hi Richard, > > > These complex impedances are all supported in the Silabs chips used in > > both the new TDM FXO module and the FXS module, but the driver currently > > sets them to 600 Ohms. > > > > I guess at some stage a patch will appear to perhaps set these depending > > on the default tonezone set in the config files. > > This was submited today to CVS (answer to your prays?): > > Update of /usr/cvsroot/zaptel > In directory mongoose.digium.com:/tmp/cvs-serv10293 > > Modified Files: > wcfxs.c > Log Message: > Add support for international impedence matching (improves echo abroad!) > > > Index: wcfxs.c > ==================================================================> RCS file: /usr/cvsroot/zaptel/wcfxs.c,v > retrieving revision 1.73 > retrieving revision 1.74 > diff -u -d -r1.73 -r1.74 > --- wcfxs.c 23 Jun 2004 18:24:21 -0000 1.73 > +++ wcfxs.c 25 Jun 2004 14:34:07 -0000 1.74 > @@ -28,7 +28,6 @@ > #include <linux/errno.h> > #include <linux/module.h> > #include <linux/init.h> > -#include <linux/usb.h> > #include <linux/errno.h> > #include <linux/pci.h> > > @@ -90,6 +89,95 @@ > {43,"LOOP_CLOSE_TRES_LOW",0x1000}, > }; > > +static struct fxo_mode { > + char *name; > + int ohs; > + int ohs2; > + int rz; > + int rt; > + int ilim; > + int dcv; > + int mini; > + int acim; > +} fxo_modes[] > +{ > + { "FCC", 0, 0, 0, 0, 0, 0x3, 0, 0 }, /* US, Canada */ > + { "TBR21", 0, 0, 0, 0, 1, 0x3, 0, 0x2 },/* Austria, Belgium, > Denmark, Finland, France, Germany, > +Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands,> +Norway, Portugal, Spain, Sweden, Switzerland, and UK */> + { "ARGENTINA", 0, 0, 0, 0, 0, 0x3, 0, 0 }, > + { "AUSTRALIA", 1, 0, 0, 0, 0, 0, 0x3, 0x3 }, > + { "AUSTRIA", 0, 1, 0, 0, 1, 0x3, 0, 0x3 }, > + { "BAHRAIN", 0, 0, 0, 0, 1, 0x3, 0, 0x2 }, > + { "BELGIUM", 0, 1, 0, 0, 1, 0x3, 0, 0x2 }, > + { "BRAZIL", 0, 0, 0, 0, 0, 0, 0x3, 0 }, > + { "BULGARIA", 0, 0, 0, 0, 1, 0x3, 0x0, 0x3 }, > + { "CANADA", 0, 0, 0, 0, 0, 0x3, 0, 0 }, > <super big snip> > > -- > Nicolas Gudino <nicolas@house.com.ar> > House Internet S.R.L. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Richard Scobie
2004-Jun-26 13:09 UTC
[Asterisk-Users] X101P on a UK BT line ---- txgain issue
Chris Stenton wrote:> Is opermode set via asterisk or do you need to do > > modprobe wcfxs opermode=UK >You need to do modprobe wcfxs opermode=UK This will only work if you have the TDM400 FXO modules. The X101P is a 600 ohm US/JATE card only. Richard