[Asterisk-Users] TDM400P not detecting hangup and not hanging up.

canuck15 canuck15 at hotmail.com
Wed Sep 7 14:37:21 MST 2005


This may or may not be related but have you tried adjusting your RX and TX
gains?  I see both are at the default (0.0) which leads me to believe you
have not.  Search the Asterisk Wiki for the procedure.

 

-----Original Message-----
From: Faris Raouf [mailto:faris at cymru1.net] 
Sent: Wednesday, September 07, 2005 12:51 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] TDM400P not detecting hangup and not hanging up.

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