[Asterisk-Users] X101P on a UK BT line ---- txgain issue
Nicolas Gudino
nicolas at house.com.ar
Fri Jun 25 16:43:38 MST 2004
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 at house.com.ar>
House Internet S.R.L.
More information about the asterisk-users
mailing list