[Asterisk-Users] asterisk@home isdn
Alejandro Vargas
alejandro.anv at gmail.com
Wed Nov 30 04:03:00 MST 2005
2005/11/29, Francesco Peeters <Francesco at fampeeters.com>:
> > try ztcfg -vvv
> > sleep 3
> > ztcfg -vvv
> Also helpful is
> cat /proc/zaptel/*
This is what I see:
[root at asterisk1 ~]# lsmod |grep zaptel
zaptel 206724 7
ztdummy,wctdm,wcfxo,wcte11xp,wct1xxp,wct4xxp,tor2
crc_ccitt 2113 1 zaptel
[root at asterisk1 etc]# rmmod ztdummy
[root at asterisk1 etc]# modprobe zaphfc modes=1
[root at asterisk1 etc]# ztconfig -vvv
[root at asterisk1 etc]# ztcfg -vvv
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
3 channels configured.
Changing signalling on channel 1 from Unused to Clear channel
ZT_CHANCONFIG failed on channel 1: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling
and that FXO interfaces use FXS signalling?
[root at asterisk1 ~]# cat /proc/zaptel/*
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 1 [NT]" AMI/CCS
1
2
3
----------------
My zaptel.conf has this:
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
Then, I try to start asterisk:
[root at asterisk1 ~]# asterisk -c
Asterisk 1.2.0, Copyright (C) 1999 - 2005 Digium.
Written by Mark Spencer <markster at digium.com>
=========================================================================
[ Booting..............[root at asterisk1 ~]# Warning, flexibel rate not
heavily tested!
Ouch ... error while writing audio data: : Broken pipe
[root at asterisk1 ~]# tail /var/log/asterisk/
[...]
22] chan_zap.c: Unable to specify channel 1: No such device or address
Nov 30 12:00:44 ERROR[3422] chan_zap.c: Unable to open channel 1: No
such device or address
here = 0, tmp->channel = 1, channel = 1
Nov 30 12:00:44 ERROR[3422] chan_zap.c: Unable to register channel '1-2'
Nov 30 12:00:44 WARNING[3422] loader.c: chan_zap.so: load_module
failed, returning -1
Nov 30 12:00:44 WARNING[3422] loader.c: Loading module chan_zap.so failed!
--
Alejandro Vargas
More information about the asterisk-users
mailing list