BT chan_zap.c: CID timed out waiting for ring

I’ve tried following the sticky above regarding getting callerid working for a TDM400P card, but every time I try I get the same message:

logger.c: == Starting post polarity CID detection on channel 1
chan_zap.c: Got event 2 (Ring/Answered)…
chan_zap.c: CID timed out waiting for ring.

zapata.conf:
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=yes
restrictcid=no
usecallingpres=yes
sendcalleridafter=1
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=yes
echotraining=800
rxgain=0.0
txgain=0.0
immediate=no
callerid=asreceived
busydetect=yes
busycount=6
ringtimeout=8000
faxdetect=incoming

group=0
channel=1

I’ve tried setting sendcalleridafter=2 and ukcallerid=yes but these don’t work neither.

Does anyone have any idea as to how to get BT Caller ID working with a TDM400P card?

did you read the sticky at the top of the forum ???

Yes, that is why I posted as I couldn’t get it to work, the code seems to have changed in 1.2.11 and I couldn’t find the code that matched

In the end I installed the lusyn patches and now have intermittent caller id.
lusyn.com/resources/asterisk/usehist.htm

It’s easy enough to do a manual patch…