Call does not hang up when user cancel the call

The situation is as follows:

My FreePBX server is connected to the Soundwin S808(FXO Box). The FXO Box is connected with 3 PSTN line.

The problem is that when a user call in from outside through one of the PSTN line, it reach the IVR and when the user dial an extension, the extension will be ringing, the user then decided to hang up the call (the user inside havent pick up the call yet), the call still continue even after the user from outside hang up the call.

I have set Misc Applications in freepbx and the feature code that I use is 2000 so that I can reach the IVR. Then in my Soundwin S808(FXO Box), in the hotline setting section, in one of the port number, i put the 2000 feature code. So that when user from outside call in through the port, the port will dial the 2000.

I have try a few times and the call can reach IVR and dial in but the call does not hang up when I cancel the call. The port status in Soundwin S808(FXO Box) is showing the call still continue. I have to reboot the Soundwin S808(FXO Box) in order to cancel the call.

Help is needed.
Thanks

If you have any FXS ports try looping one to the FXO and call that FXS extension to ring to the FXO port and emulate an incoming call.

Maybe your CPC detection is messed up.

The other thing is maybe your IVR settings are looping the menu endless ?

What settings to you have in your IVR setup ?

Maybe post some screen shots or config files if you can.

I do not have any FXS ports to try. The settings for IVR is as follows:

Change Name: Welcome Message
Announcement: Welcome
Timeout: 10
Enable directory: (is untick)
VM Return to IVR: (is untick)
Directory Context: default
Enable direct dial: (tick)
Loop Before t-dest: (is untick)
Timeout Message: None
Loop before i-dest: (is untick)
Invalid Message: None
Repeat Loops: 0

Options:

If user press 0, go to extensions: 2015
[the Return to IVR (is untick)]

I only set 1 options for the IVR.

The configuration for the chan_dahdi.conf is as follows:
[trunkgroups]

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=1

immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf

Thanks

maybe your T & R are lined up properly (positive and negative)

Try that and see.

After that try to add this line as well and see

" hanguponpolarityswitch=yes"

Stefan

Hi Benjamin,so what is your solution???

CPC?? What is CPS?