[Asterisk-cvs] zaptel usbfxstest.c, 1.1, 1.2 wct4xxp.c, 1.73,
1.74 wctdm.c, 1.113, 1.114
mattf at lists.digium.com
mattf at lists.digium.com
Wed Jun 22 10:42:37 CDT 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv13661
Modified Files:
usbfxstest.c wct4xxp.c wctdm.c
Log Message:
New Zealand fixes
Index: usbfxstest.c
===================================================================
RCS file: /usr/cvsroot/zaptel/usbfxstest.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- usbfxstest.c 22 Aug 2002 16:51:05 -0000 1.1
+++ usbfxstest.c 22 Jun 2005 14:43:14 -0000 1.2
@@ -62,7 +62,7 @@
if (res < len) {
res = zap_getevent(z);
if (zap_dtmfwaiting(z)) {
- zap_getdtmf(z, 1, NULL, 0, 1, 1, 0);
+ zap_getdtmf(z, 1, NULL, 0, 1, 1, 0);
printf("Got DTMF: %s\n", zap_dtmfbuf(z));
zap_clrdtmfn(z);
} else if (res) {
Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- wct4xxp.c 10 Jun 2005 02:46:59 -0000 1.73
+++ wct4xxp.c 22 Jun 2005 14:43:14 -0000 1.74
@@ -56,7 +56,7 @@
/* Work queues are a way to better distribute load on SMP systems */
#ifdef LINUX26
-#define ENABLE_WORKQUEUES
+//#define ENABLE_WORKQUEUES
#endif
/* Enable prefetching may help performance */
Index: wctdm.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wctdm.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- wctdm.c 9 Jun 2005 15:43:22 -0000 1.113
+++ wctdm.c 22 Jun 2005 14:43:14 -0000 1.114
@@ -1455,6 +1455,11 @@
(wctdm_getreg(wc, card, 13) >> 2) & 0xf);
/* Enable on-hook line monitor */
wctdm_setreg(wc, card, 5, 0x08);
+
+ /* NZ -- crank the tx gain up by 7 dB */
+ if (!strcmp(fxo_modes[_opermode].name, "NEWZEALAND"))
+ wctdm_setreg(wc, card, 38, 0x7);
+
return 0;
}
More information about the svn-commits
mailing list