Ready to use zaptel modules
Caio Begotti
caio at ueberalles.net
Mon Apr 10 00:16:21 UTC 2006
On Sunday 09 April 2006 18:47, Kilian Krause wrote:
> as you may have seen, the zaptel-modules are now autobuilt for SID (and
> only there). So the resulting modules will be available as ready to
> install packages in the archive within the hour from now.
Any chances to make the new MG2 echo canceler as default or at least make it
usable via uncommented patch? That's what I'm using right now:
(a Digium's guy told me to just edit the zconfig.h file but it didn't work so
I had to change the Makefile and now I'm testing the new canceler fine)
#! /bin/sh /usr/share/dpatch/dpatch-run
## enable_mg2.dpatch by Caio Begotti <caio at ueberalles.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: built in the new echo canceler based on KB1
@DPATCH@
diff -ruN zaptel-1.2.5.old/Makefile zaptel-1.2.5/Makefile
--- zaptel-1.2.5.old/Makefile 2006-04-01 09:54:18.997597792 -0300
+++ zaptel-1.2.5/Makefile 2006-04-01 09:55:02.129040816 -0300
@@ -286,7 +286,7 @@
gendigits: LDFLAGS+=-lm
ifndef EC_TYPE
- EC_TYPE:=KB1
+ EC_TYPE:=MG2
endif
# only for for 2.6 kernel:
EXTRA_CFLAGS+=-DECHO_CAN_SET -DECHO_CAN_$(EC_TYPE)
diff -ruN zaptel-1.2.5.old/zconfig.h zaptel-1.2.5/zconfig.h
--- zaptel-1.2.5.old/zconfig.h 2006-04-01 09:54:18.984599768 -0300
+++ zaptel-1.2.5/zconfig.h 2006-04-01 09:54:50.090870896 -0300
@@ -47,19 +47,20 @@
// you must define externally both ECHO_CAN_SET and ECHO_CAN_foo
#ifndef ECHO_CAN_SET
-#define ECHO_CAN_SET ECHO_CAN_KB1
-#define ECHO_CAN_KB1
+#define ECHO_CAN_SET ECHO_CAN_MG2
+#define ECHO_CAN_MG2
#endif
/* #define ECHO_CAN_STEVE */
/* #define ECHO_CAN_STEVE2 */
/* #define ECHO_CAN_MARK */
/* #define ECHO_CAN_MARK2 */
/* #define ECHO_CAN_MARK3 */
-/*#define ECHO_CAN_KB1 */
+/* #define ECHO_CAN_KB1 */
/* MG2 is a version of KB1 that has some changes to it that are
* supposed to improve how it performs. If you have echo problems,
* try it out! */
-/* #define ECHO_CAN_MG2 */
+
+#define ECHO_CAN_MG2
/*
* Uncomment for aggressive residual echo supression under
--
caio[1982] begotti
http://caio.ueberalles.net
More information about the Pkg-voip-maintainers
mailing list