ok, it seems to be a kernel crash while unloading zaptel before stopping wanrouter. the start script was wrong.
now I've got a new problem
i installed vicibox.
then downloaded the following packages
- asterisk-1.4.21.2-vici.tar.gz
- libpri-1.4.10.1.tar.gz
- wanpipe-3.2.7.1.tgz
- zaptel-1.4.12.1.tar.gz
shutdown asterisk and zaptel
at first i installed libpri 1.4 with (make - make install) then
i run ./configure script from zaptel 1.4.12 then make - make install
then the same with asterisk 1.4.21.2 like zaptel
reboot
i can connect to asterisk CLI
(Connected to Asterisk 1.4.21.2-vici currently running on ka-vici-dialer (pid = 5351))
then
install wanpipedriver 3.2.7.1 with ./Setup install
i configured my two 2x E1 lines and added wanrouter with ./Setup install_init to start on boot.
after reboot
wanrouter started, i can connect to CLI, no warnings, no alarms.
but asterisk can't create a ZAP channel when i make a call from my SIP phone. on CLI i can't use commands like PRI or ZAP.
can somebody tell me where i've made a mistake?
EDIT:
i found the error:
when i start asterisk with -vvvvvvvgc
i get the following error:
- Code: Select all
[Sep 28 17:19:26] ERROR[19125]: chan_zap.c:7216 mkintf: Unable to get parameters
[Sep 28 17:19:26] ERROR[19125]: chan_zap.c:10593 build_channels: Unable to register channel '1-15'
the big question...why?

the card works with vicidialnow.
ztcfg -vv shows 62 channels configured
zttool shows me no alarms
wanrouter status: 2 connected wanpipes
log from messages
- Code: Select all
Sep 28 18:01:27 ka-vici-dialer kernel: [ 193.016613] wanpipe1: AFT communications enabled!
Sep 28 18:01:27 ka-vici-dialer kernel: [ 193.017622] wanpipe1: AFT Global TDM Intr
Sep 28 18:01:27 ka-vici-dialer kernel: [ 193.018666] wanpipe1: Global TDM Ring Resync
Sep 28 18:01:27 ka-vici-dialer kernel: [ 193.018677] wanpipe1: Card TDM Rsync Rx=0 Tx=2
Sep 28 18:01:28 ka-vici-dialer kernel: [ 194.015399] wanpipe1: RAI alarm is OFF
Sep 28 18:01:28 ka-vici-dialer kernel: [ 194.015407] wanpipe1: OOF alarm is OFF
i don't know my real zaptel verion .. i installed 1.4.12.1
- Code: Select all
root@ka-vici-dialer:~# modinfo zaptel
filename: /lib/modules/2.6.24-24-server/misc/zaptel.ko
version: 1.2.27
license: GPL
description: Zapata Telephony Interface
author: Mark Spencer <markster@digium.com>
srcversion: 08B42AA3DB045827748DC2D
depends: crc-ccitt
vermagic: 2.6.24-24-server SMP mod_unload 686
parm: debug:int
parm: deftaps:int
root@ka-vici-dialer:~# dmesg | grep Zap
[ 183.944922] Zapata Telephony Interface Registered on major 196
[ 183.944931] Zaptel Version: 1.4.12.1
[ 183.944933] Zaptel Echo Canceller: MG2
i think i always use zaptel 1.2 and libpri 1.2. .... ahhhh i'm too stupid to install that :-/