[Asterisk-Users] TDM400P not detecting hangup and not hanging up.
Faris Raouf
faris at cymru1.net
Wed Sep 7 12:50:50 MST 2005
Can anyone suggest where I might begin looking for an answer please?
I have just installed a TDM400P (2x FXS and 1x FXO modules installed)
The first problem is that it does not seem to be able to detect if the
remote party has hung up when a call comes through on the FXO. For example,
if someone calls in, and then hangs up at any time after it starts ringing,
Asterisk carries on as though the caller never hung up.
I've tried raising BATT_THRESH to 8 in wcfxs.c and re-compiling zaptel (this
was the only thing that Google came up with to help me, although others do
seems to have had similar problems to mine at various times), but it has
made no difference at all.
The second problem is that Hangup does not hangup. The channel stays open
until I stop asterisk.
Note: When MAKING a call on the FXO, when I terminate the call on my SIP
phone the line does drop correctly. The problem appears to be related to
incoming calls only.
I'm based in the UK. Using RedHat 9 with zaptel-1.0.9.1, asterisk-1.0.9 (and
chan_capi-0.5.4)
Thanks in advance for any ideas.
Faris.
*****
Here's my initialisation script:
modprobe zaptel
modprobe wctdm opermode=UK
/sbin/ztcfg -vvvv
capiinit
safe_asterisk
zapata.conf
[trunkgroups]
; nothing in here
[channels]
rxwink=300 ; (I tried commenting this out. Make no difference)
usedistinctiveringdetection=no
usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=no
usecallingpres=no
sendcalleridafter=1
callwaitingcallerid=no
threewaycalling=no
transfer=no
cancallforward=yes
callreturn=no
echocancel=yes
echocancelwhenbridged=no
rxgain=0.0
txgain=0.0
immediate=no
progzone=uk
; module 0 on card is an FXS
signalling=fxo_ks
language=en
context=sip
channel => 1
; module 1 on card is an FXS
signalling=fxo_ks
language=en
context=sip
channel => 2
; module 2 on card is an FXO
signalling=fxs_ks
language=en
context=faris
channel => 3
zaptel.conf
fxoks=1-2
fxsks=3
loadzone=uk
defaultzone=uk
and in extensions.conf
[faris]
exten => s,1,NoOp(cid=${CALLERID})
exten => s,2,Wait(10)
exten => s,3,Answer
exten => s,4,Wait(1)
exten => s,5,Playback(some-long-message)
exten => s,6,Hangup
The long wait(10) is just there to see what happens. Removing it makes no
difference. Basically whenever a call comes in, no matter when the caller
hangs up, Asterisk continues with the call to the end (i.e. plays long
message).
What's more, the Hangup at the end has no effect. The line is not dropped.
The line is not ever dropped in fact.
More information about the asterisk-users
mailing list