A few rings after caller hangup

I got a problem over here, I don’t know if it is normal or not.

When there is an incoming call on FXO Zap channel, my system still have 3 rings after the caller hangup, is it normal?

But the system can handle hangup on answered call normally. (e.g. voicemail can stop within 3 seconds when the caller hangup in the middle)

Here is part of my config files:

zapata.conf
[channels]
group=1
context=pstn
usecallerid = no
echocancel=yes
echotraining=800
rxwink=300
busydetect=yes
busycount=2
busypattern=500,500
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
signalling = fxs_ks
channel => 4

extensions.conf
[pstn]
exten => s,1,Dial(SIP/8000&SIP/8003,30)
exten => s,2,Hangup

Anyone know how to solve this problem? Thanks!

What do you mean by the system has 3 rings ? Do the phones still ring even though the person hung up ?

exactly! anyway to solve this problem?

What shows up in the CLI and when ? Do you know if you when you hang up the phone that the line coming in to the box actually goes dead ? It could be a telco issue. What do you have in the CLI ?

How are the phones connected to the Asterisk box? Is it Via IP or directly into an FXO/FXS port?

I know SIP sometimes can have a very slow Call Tare down, not sure about IAX2 as we are still playing around with it, but if it is directly connected to a TDM card, then it could be a carrier issue.

Cheers,

David.

I’ve got both SIP and FXS extensions. Both start ringing at the same time and both end ringing at the same time.

I’ve tried calling into the system by myself and at the same time watching CLI, I can see that the Zap channel cannot detect hangup immediately (always have a delay for around 3 sec, i.e. ~ 3 rings), but if Zap channel detected a hangup, all my extensions stop ringing, therefore, it should be something related to Zap FXO channel, also, there’s no such delay problem between extensions calls.

if you’re talking about the carrier, I’ve tried connecting the FXO port to one of the extension of my existing Panasonic PBX, same problem occurs. (Call from PSTN or calls from another extension are having the same result)

Here is what I can see in CLI:
(when incoming call…)
– Starting simple switch on ‘Zap/4-1’
– Executing [s@pstn:1] Dial(“Zap/4-1”, “ZAP/1&SIP/8003|30”) in new stack
– Called 1
– Called 8003
– Zap/1-1 is ringing
– SIP/8003-08222458 is ringing

(Incoming call hangup and after approx. 3 secs)
– Hungup ‘Zap/1-1’
== Spawn extension (pstn, s, 1) exited non-zero on ‘Zap/4-1’
– Hungup ‘Zap/4-1’

try playing with the callprogress setting in zapata.conf?

tried…
:frowning: