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

James Williamson jamesw at nameonthe.net
Tue Apr 8 07:35:21 CDT 2008


Tzafrir Cohen wrote:
> On Tue, Apr 08, 2008 at 09:42:48AM +0100, 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?
> 
> Before going further in "wasting time", what do you have in zapata.conf ?
> 
> (And for the record: I don't think 1.2 should be any better than 1.4 in
> picking up caller ID)
> 

I'm running a 2.6.22 kernel, zaptel 1.4.9.2 and asterisk 1.4.14. I've 
ensured the driver is loaded in opermode=UK,
dmesg output:

wctdm24xxp: reg is a04c0004
Resetting the modules...
During Resetting the modules...
After resetting the modules...
Port 1: Installed -- AUTO FXS/DPO
Port 2: Installed -- AUTO FXO (UK mode)
Port 3: Not installed
Port 4: Not installed
VPM100: Not Present
Found a Wildcard TDM: Wildcard TDM410P (4 modules)

My zapata.conf looks like this:

[trunkgroups]

[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
fwringdetect=1

context=incoming
group=1
usecallerid=yes
faxdetect=none
signalling=fxs_ks
rxgain=8
txgain=8
callerid=asreceived
channel => 2

I've added a debug entry into my extension.conf:

[incoming]
exten => s,1,Verbose(Callerid => ${CALLERID} -> ${CALLERIDNUM})

When I make an incoming call (I've got two landlines), I see this on my 
terminal:

Asterisk Ready.
   == Starting post polarity CID detection on channel 2
     -- Starting simple switch on 'Zap/2-1'
[Apr  8 13:29:11] NOTICE[6815]: chan_zap.c:6171 ss_thread: Got event 2 
(Ring/Answered)...
     -- Executing [s at incoming:1] Verbose("Zap/2-1", "Callerid =>  -> ") 
in new stack
Callerid =>  ->
   == Auto fallthrough, channel 'Zap/2-1' status is 'UNKNOWN'
     -- Hungup 'Zap/2-1'
[Apr  8 13:29:13] NOTICE[6815]: cdr.c:434 ast_cdr_free: CDR on channel 
'Zap/2-1' not posted
     -- Starting simple switch on 'Zap/2-1'
     -- Executing [s at incoming:1] Verbose("Zap/2-1", "Callerid =>  -> ") 
in new stack
Callerid =>  ->
   == Auto fallthrough, channel 'Zap/2-1' status is 'UNKNOWN'
     -- Hungup 'Zap/2-1'
[Apr  8 13:29:16] NOTICE[6816]: cdr.c:434 ast_cdr_free: CDR on channel 
'Zap/2-1' not posted
   == Starting post polarity CID detection on channel 2
     -- Starting simple switch on 'Zap/2-1'
[Apr  8 13:29:28] WARNING[6817]: chan_zap.c:6234 ss_thread: CID timed 
out waiting for ring. Exiting simple switch
     -- Hungup 'Zap/2-1'
[Apr  8 13:29:28] NOTICE[6817]: cdr.c:434 ast_cdr_free: CDR on channel 
'Zap/2-1' not posted
Executing last minute cleanups

The penultimate line appears after I hang up.

James







More information about the asterisk-users mailing list