[Asterisk-cvs] zaptel Makefile,1.13,1.14 wcfxs.c,1.28,1.29

markster at lists.digium.com markster at lists.digium.com
Fri Nov 7 15:01:39 CST 2003


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv23034

Modified Files:
	Makefile wcfxs.c 
Log Message:
Implement BOOST_RINGER properly


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Makefile	24 Oct 2003 13:36:13 -0000	1.13
+++ Makefile	7 Nov 2003 21:27:51 -0000	1.14
@@ -28,6 +28,8 @@
 # Take out calibration
 #KFLAGS+=-DNO_CALIBRATION
 #KFLAGS+=-DNO_DCDC
+# Boost ring voltage (Higher ring voltage, takes more power)
+#KFLAGS+=-DBOOST_RINGER
 #
 # Define CONFIG_CALC_XLAW if you have a small number of channels and/or
 # a small level 2 cache, to optimize for few channels

Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- wcfxs.c	9 Oct 2003 21:56:26 -0000	1.28
+++ wcfxs.c	7 Nov 2003 21:27:51 -0000	1.29
@@ -926,8 +926,10 @@
 #endif
 
 #ifdef BOOST_RINGER
+    	wcfxs_setreg(wc, card, 74, 0x3f);
+	
 	/* Beef up Ringing voltage to 89V */
-	if (wcfxs_setreg_indirect(wc, card, 23, 0x1d1))
+	if (wcfxs_setreg_indirect(wc, card, 21, 0x1d1))
 			return -1;
 #endif
 	return 0;




More information about the svn-commits mailing list