[root@vici ~]# ./USB.sh
--21:35:58--
ftp://ftp.sangoma.com/linux/wanpipe_voi ... oicetime-1. 0.9.tgz
=> `wanpipe-voicetime-1.0.9.tgz'
Resolving ftp.sangoma.com... 205.207.146.107
Connecting to ftp.sangoma.com|205.207.146.107|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /linux/wanpipe_voicetime ... done.
==> SIZE wanpipe-voicetime-1.0.9.tgz ... 57879
==> PASV ... done. ==> RETR wanpipe-voicetime-1.0.9.tgz ... done.
Length: 57879 (57K)
100%[=======================================>] 57,879 31.3K/s in 1.8s
21:36:05 (31.3 KB/s) - `wanpipe-voicetime-1.0.9.tgz' saved [57879]
[root@vici ~]# tar xfz wanpipe-voicetime-1.0.0.tgz
tar: wanpipe-voicetime-1.0.0.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[root@vici ~]# tar xfz wanpipe-voicetime-1.0.9.tgz
[root@vici ~]# cd wanpipe-voicetime-1.0.9
[root@vici wanpipe-voicetime-1.0.9]# make ZAPDIR=/usr/src/zaptel-1.0.9
+--------- Wanpipe Build Info --------------+
Compiling Wanpipe without ZAPTEL/DAHDI Support!
Zaptel/Dahdi Dir: /usr/src/zaptel-1.0.9
+-------------------------------------------+
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.18-92.el5.vnow/build SUBDIRS=/root/wanpipe-voicetime-1.0.9/src EXTRA_FLAGS="-D__LINUX__ -I/lib/modules/2.6.18-92.el5.v now/build/include/ -I/include -I/usr/include -I/root/wanpipe-voicetime-1.0.9/src /include -I/lib/modules/2.6.18-92.el5.vnow/build/include/linux -I/usr/src/zaptel -1.0.9" HOMEDIR=/root/wanpipe-voicetime-1.0.9 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5.vnow-i686'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /root/wanpipe-voicetime-1.0.9/src/.tmp_versions
rm -f /root/wanpipe-voicetime-1.0.9/src/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/wanpipe-voicetime-1.0.9/src
gcc -m32 -Wp,-MD,/root/wanpipe-voicetime-1.0.9/src/.wanpipe_voicetime_main.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERNEL__ - Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes - Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werr or-implicit-function-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fn o-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtu ne=generic -mtune=generic -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-gen eric -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protect or -Wdeclaration-after-statement -Wno-pointer-sign -D__LINUX__ -I/lib/modules/2. 6.18-92.el5.vnow/build/include/ -I/include -I/usr/include -I/root/wanpipe-voicet ime-1.0.9/src/include -I/lib/modules/2.6.18-92.el5.vnow/build/include/linux -I/u sr/src/zaptel-1.0.9 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_ST R(wanpipe_voicetime_main)" -D"KBUILD_MODNAME=KBUILD_STR(wanpipe_voicetime)" -c -o /root/wanpipe-voicetime-1.0.9/src/.tmp_wanpipe_voicetime_main.o /root/wanpipe -voicetime-1.0.9/src/wanpipe_voicetime_main.c
In file included from /root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c :50:
/root/wanpipe-voicetime-1.0.9/src/include/zapcompat.h:146:20: error: zaptel.h: N o such file or directory
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:115: error: field âsp anâ has incomplete type
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:118: error: field â_c hanâ has incomplete type
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c: In function âwud_rea d_completeâ:
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:483: error: implicit declaration of function âzt_receiveâ
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:484: error: implicit declaration of function âzt_transmitâ
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c: In function âwud_set upâ:
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:886: error: implicit declaration of function âzt_unregisterâ
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c: In function âwud_ini tializeâ:
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:953: error: dereferen cing pointer to incomplete type
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:954: error: dereferen cing pointer to incomplete type
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:961: error: âZT_LAW_M ULAWâ undeclared (first use in this function)
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:961: error: (Each und eclared identifier is reported only once
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:961: error: for each function it appears in.)
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:964: error: dereferen cing pointer to incomplete type
/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.c:965: error: implicit declaration of function âzt_registerâ
make[2]: *** [/root/wanpipe-voicetime-1.0.9/src/wanpipe_voicetime_main.o] Error 1
make[1]: *** [_module_/root/wanpipe-voicetime-1.0.9/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5.vnow-i686'
make: *** [all] Error 2
[root@vici wanpipe-voicetime-1.0.9]# make install
make -C /lib/modules/2.6.18-92.el5.vnow/build SUBDIRS=/root/wanpipe-voicetime-1.0.9/src modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.el5.vnow-i686'
DEPMOD 2.6.18-92.el5.vnow
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.el5.vnow-i686'
[root@vici wanpipe-voicetime-1.0.9]# make boot
Wanpipe VoiceTime Boot Setup Complete!
--------------------------------------
Zaptel /etc/rc.d/init.d/zaptel startup script has been updated with Wanpipe VoiceTime!
The zaptel dummy has now been replaced with wanpipe_voicetime as the
default timing source for zaptel.
Simply start zaptel using: /etc/rc.d/init.d/zaptel start
No other configuratoin is necessary!
[root@vici wanpipe-voicetime-1.0.9]# /etc/init.d/zaptel start
[root@vici wanpipe-voicetime-1.0.9]# zttest
Opened pseudo zap interface, measuring accuracy...
99.938965% 99.975586% 99.938965% 99.975586% 99.975586% 99.938965% 99.975586%
99.938965% 99.975586% 99.975586% 99.938965% 99.975586% 99.938965% 99.975586% 99.938965%
99.975586% 99.975586% 99.938965% 99.975586% 99.938965% 99.975586% 99.938965% 99.975586%
99.975586% 99.951172% 99.975586% 99.938965% 99.975586% 99.938965% 99.975586% 99.975586%
99.938965% 99.975586% 99.938965% 99.975586%
--- Results after 35 passes ---
Best: 99.975586 -- Worst: 99.938965 -- Average: 99.960240
[root@vici wanpipe-voicetime-1.0.9]# asterisk -r
Asterisk 1.2.30.2, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.30.2 currently running on vici (pid = 2617)
Verbosity is at least 21
vici*CLI> zap show status
Description Alarms IRQ bpviol CRC4
ZTDUMMY/1 (source: RTC) 1 UNCONFIGUR 0 0 0
vici*CLI>
Got so many errors while installing.
Any advice ?
ERROR: Kernel configuration is invalid.