FXO doesnt hang up

I’ve successfully got asterisk to answer on a Wildcard X100P however asterisk doesn’t hang up when its playing the test message, its using an analogue extension on a NEC phone system, any ideas?

I have close to the same hardware as you do, I’m using Clone X100p card and Asterisk 1.2.4. my configuration files are listed here,
please notice that the signalling in zapdata.conf, if you are in Europe countries, perhaps you should set signalling to fxs_ks.

hope to shed some lights for you.

zaptel.conf

# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: WCFXO/0 "Generic Clone Board 1" RED
fxsls=1

# Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"

# Global data

loadzone        = no
defaultzone     = no

zapata.conf

;
[channels]
;
;
usecallerid=yes
;
;
cidsignalling=bell
;
;
cidstart=ring
;
;
hidecallerid=no
;
;
callwaiting=yes
;
;
restrictcid=no
;
;
usecallingpres=yes
;
;
callwaitingcallerid=yes
;
;
threewaycalling=yes
;
;
transfer=yes
;
;
canpark=yes
;
;
cancallforward=yes
;
;
callreturn=yes
;
;
echocancel=yes
;
;
echocancelwhenbridged=yes
;
;
group=1
;
;
callgroup=1
pickupgroup=1
;
;
immediate=no
;
;
amaflags=default
;
;
busydetect=yes
;busycount=2
;busypattern=240,70
;hanguponpolarityswitch=yes
;
;
callprogress=yes
;progzone=us
;
;
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;
; Select which class of music to use for music on hold.  If not specified
; then the default will be used.
;
musiconhold=default
;
;
;
context=from-pstn
signalling=fxs_ls
channel => 1

I think you have to user busydetect=yes directive in your zapata.conf

I know this may simple but you did use the hang up command at the end ?

Exten => s,1,Answer
Exten => s,n,Playback(filename)
Exten => s,n,Hangup