ZAP Channels stay open

We are trying to forward an incoming call to another external number using Follow me. The reason for doing this is the customer is moving from one are code to another and they want to keep their current FAX number. AT&T will do a Disaster recovery “forward” of the number to the fax service but cannot do this for more than a week. We had this working in a lab but when we put it on-site it failed.

Everything works great for one call and it never disconnects. If we disconnect the line form the card it ends the call and we can make another call. So we know it is an issue with the FXO connections but not how to resolve this or even to further troubleshoot.

Help!

zapata.conf

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]
#include zapata-channels.conf

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

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 genzaptelconf configs
#include zapata-auto.conf

;Include AMP configs
#include zapata_additional.conf

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: WCTDM/0 “Wildcard TDM410P Board 1” (MASTER)

fxsks=1
fxsks=2
fxsks=3
fxsks=4

Global data

loadzone = us
defaultzone = us