rpm -q asterisk
asterisk-1.4.16-1
rpm -q zaptel
zaptel-1.4.7-13.3259
cat zaptel.conf
Span 1: WCTDM/0 “Wildcard TDM410P Board 1”
fxsks=1
fxsks=2
fxoks=3
fxoks=4
Span 2: ZTDUMMY/1 “ZTDUMMY/1 (source: RTC) 1”
Global data
loadzone = us
defaultzone = us
#zapata.conf
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
busydetect=yes
busycount=12
;echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=8.0
txgain=8.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-channels.conf
group=1
;Include AMP configs
#include zapata_additional.conf
#zapata-auto.conf
; Span 1: WCTDM/0 “Wildcard TDM410P Board 1”
;;; line="1 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default
;;; line="2 WCTDM/0/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
context=default
;;; line="3 WCTDM/0/2 FXOKS"
signalling=fxo_ks
callerid=“Channel 3” <6003>
mailbox=6003
group=5
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 WCTDM/0/3 FXOKS"
signalling=fxo_ks
callerid=“Channel 4” <6004>
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
#zapata-channels.conf
; Span 1: WCTDM/0 “Wildcard TDM410P Board 1”
;;; line="1 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default
;;; line="2 WCTDM/0/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
context=default
;;; line="3 WCTDM/0/2 FXOKS"
signalling=fxo_ks
callerid=“Channel 3” <6003>
mailbox=6003
group=5
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 WCTDM/0/3 FXOKS"
signalling=fxo_ks
callerid=“Channel 4” <6004>
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
-rw-rw-r-- 1 asterisk asterisk 661 Mar 18 18:04 zapata_additional.conf
lrwxrwxrwx 1 asterisk asterisk 34 Jan 6 2008 zapata-auto.conf -> /etc/asterisk/zapata-channels.conf
-rw-rw-r-- 1 asterisk asterisk 961 Mar 13 15:36 zapata-channels.conf
-rw-rw-r-- 1 asterisk asterisk 813 Jun 9 2008 zapata-channels.conf.bak
-rw-rw-r-- 1 asterisk asterisk 671 Jan 19 14:37 zapata-channels.conf.bak.new
-rwxrwxrwx 1 asterisk asterisk 796 Mar 18 18:01 zapata.conf
#ztcfg -vv
Zaptel Version: 1.4.7-3259
Echo Canceller: OSLEC
Configuration
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
4 channels to configure.
cat /proc/zaptel/1
Span 1: WCTDM/0 "Wildcard TDM410P Board 1"
IRQ misses: 5
1 WCTDM/0/0 FXSKS (In use)
2 WCTDM/0/1 FXSKS (In use)
3 WCTDM/0/2 FXOKS (In use)
4 WCTDM/0/3 FXOKS (In use)
lspci
…
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:00.0 Ethernet controller: Digium, Inc. Unknown device 8005 (rev 11)
03:01.0 ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01)
*CLI> zap show status
Description Alarms IRQ bpviol CRC4
Wildcard TDM410P Board 1 OK 5 0 0
ZTDUMMY/1 (source: RTC) 1 UNCONFIGUR 0 0 0
*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo from-internal en default
1 from-zaptel en default
2 from-pstn en default
3 from-internal en default
4 from-internal en default
lsmod |grep zaptel
zaptel 197176 18 ztdummy,wcusb,wctdm,wcfxo,wcte11xp,wct1xxp,wcte12xp,wct4xxp,tor2,wctdm24xxp
oslec 13464 1 zaptel
crc_ccitt 6337 1 zaptel
P.S I do not have problem with fxs modules-work fine… only with fxo modules