Install guide

www.atcom.cn
Install the MG2 echo cancellation
If the echo is still worst or you hear some noise at the beginning of your speech, then
we can try to use the MG2 echo cancellation. Trixbox doesn’t install this soft echo
cancellation in default. The soft echo cancellation may give you a good result in
Trixbox.
Download the latest 1.2 version zaptel for asterisk official website www.asterisk.org.
before install the zaptel driver , we need to install the kernel source of Trixbox. Use
SSH to connect the Trixbox server and run:
Install Kernel Source:
yum –y install kernel-devel kernel
yum –y install kernel-smp-devel //
There is a bug in the new kernel , to fix it, you need to:
cd /usr/src/kernels/2.6.9-34.0.2.EL-smp-i686/include/linux/
vi spinlock.h
search for rw_lock_t in that file, and change it to rwlock_t, otherwise there will be error when
compile the zaptel driver
Install Zaptel:
Download the zaptel driver.
cd /usr/src
tar –zxvf zaptel-1.2.17.tar.gz ;
cd zaptel-1.2.17
vi zconfig.h and locate
/* #define ECHO_CAN_MARK2 */
/* #define ECHO_CAN_MARK3 */
#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 */
Uncomment the
+/* #define ECHO_CAN_MG2 */
And comment
#define ECHO_CAN_KB1
make clean;make install ; finish the install of zaptel
Then MG2 echo cancellation is successful installed in your system.
Octware echo cancellation
Octasic provides a software echo cancellation for Asterisk, it can improve the voice quality much.
Trixbox 2.2 has installed this software (OCTWARE) default. You will need the license key to use
it. You can find it easily on the internet, the price is about several US dollars. This is the best
choice to improve the voice
28/32