Dahdi calls to voicemail not hanging up

new freepbx install with an x100p card seems to be OK but doesn’t hang up after dahdi calls to the voicemail. I have done some googling and itseems I need to experiment with call disconnect supervision settings.

The dahdi channel is connected to an ata on a BCM50 system and I guess I need to find settings to make it campatable with this.

I’ll keep experimenting but if any one has any advice I’d be pleased to receive it.

I include a section from the BCM50 ata manual at the end of my post.

Dave

chan_dahdi.conf is as follows

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=4
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

#include dahdi-channels.conf

group=1

;Include AMP configs
#include chan_dahdi_additional.conf

dahdi-channels.conf is as follows

; Span 1: WCFXO/0 “Wildcard X100P Board 1” (MASTER)
;;; line="1 WCFXO/0/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

Note: When disconnect happens from the central office (CO), the ASM8+
provides an OSI to the off-hook station of 850 ms (TIA/EIA 464 section
5.4.10.2.4; minimum is 600 ms) as a disconnect signal. If the station remains
on-hook after the disconnect signal, the ASM8+ disconnects the station equipment
from the network without returning a tone to it (TIA/EIA 464 section
5.4.10.2.5[1]). After the station equipment goes on-hook, the ASM8+ station
interface is restored to on-hook (idle).
You must ensure that the device, application, or interface card connected to an
ASM8+ station interface conform to these on-hook and off-hook conditions.