[asterisk-users] UK POTS - Is there a better card than TDM400P available ?

Gordon Henderson gordon+asterisk at drogon.net
Tue Apr 8 05:04:22 CDT 2008


On Tue, 8 Apr 2008, James Williamson wrote:

> I've installed the 1.2.x zaptel drivers, this still doesn't work. Is
> there anyone
> in the UK who's successfully got a TDM410P to support caller id or am I just
> wasting my time?

I have it working on TDM400Ps under 1.2.x

Applying the patch mentioned earlier was pretty crucial...

# lsmod
Module                  Size  Used by
zttranscode             6408  0
wctdm                  32544  1
zaptel                194360  6 zttranscode,wctdm
oslec                   7640  1 zaptel

Extract from 'dmesg':

Open Source Line Echo Canceller Installed
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.23
Zaptap registered 'sample' char driver on major 33
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 12 (level, low) -> IRQ 12
Freshmaker version: 73
Freshmaker passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Not installed
Module 2: Not installed
Module 3: Installed -- AUTO FXO (UK mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules)
Registered tone zone 4 (United Kingdom)

This is in /etc/moprobe.d/dsx:

   options wctdm opermode=UK

and this is in /etc/modprobe.d/zaptel

# automatically generated file; do not edit
install wctdm /sbin/modprobe --ignore-install wctdm $CMDLINE_OPTS && /sbin/ztcfg
install ztdummy /sbin/modprobe --ignore-install ztdummy $CMDLINE_OPTS && /sbin/ztcfg
alias wcfxs wctdm
alias wct2xxp wct4xxp


# cat /etc/zaptel.conf
fxoks=1
fxsks=4
loadzone=uk
defaultzone=uk


dsx:/etc# cat /etc/asterisk/zapata.conf

; zapata.conf:

[trunkgroups]

[channels]

; Default settings applicable to all channels

usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
;echotraining=yes
;echocancelwhenbridged=yes
immediate=no
faxdetect=no

; Channel 4: PSTN line
context=incoming
group=1
usecallerid=yes
faxdetect=none
signalling=fxs_ks
rxgain=8
txgain=8
callerid=asreceived
channel => 4


And a call:

# rasterisk
Asterisk 1.2.26.1, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster at 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.26.1 currently running on dsx (pid = 18853)
dsx*CLI> set verbose 9
Verbosity was 0 and is now 9

   == Starting post polarity CID detection on channel 4
     -- Starting simple switch on 'Zap/4-1'
     -- Executing NoOp("Zap/4-1", "INCOMING CALL - From: "" <07712191046>") in new stack

Gordon



More information about the asterisk-users mailing list