Analog caller-id varies from country to country and exchange to exchange. However, for BT you need to include the following in the general section of zapata.conf...
usecallerid=yes
cidsignalling=v23 ; Added for UK CLI detection
cidstart=polarity ; Added for UK CLI detection
You will find the general section headers=>zapata.conf
Asterisk analogue CLI detection is not good. Zaptel was really built for Bellcore type networks and it is always a bit of struggle getting it to behave. With UK CLI fitted you will lose the first 2 rings - i.e. the target extension will only ring on the third carrier ring. Without patching zaptel, this can't be fixed.
Kind REgards
S