Callerid problem uk virginmedia and bt lines

I have just installed Ubuntu Linux on by pbx box with two fxo modules
i have setup the config files and have a working system with no apparent problems.

The problem I have is caller id

the two incoming lines are from different suppliers virginmeadia and bt

I can get caller id from both lines, Depending on zapata.config but not at the same time.

I previously used an Asterisk-now system install which was easy to set up through a web interface.
caller id was working on both lines on this box
Both incoming lines on the old box seem to have their configuration set in user.conf, but my limited knowledge cannot figure out how it all connects

I am using a tmd400 board with 2 fxo modules installed chan 3-4

mike wheeler
any help would be appreciated

Hi Mike

Of course if we could see the zapata.conf we may then be able to see whats happening
Ian

current zapata.conf file

trunkgroups]

[channels]
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
signalling=fxs_ks
context=fromzap
immediate=no
cidstart=ring
channel => 3

cidsignalling=v23
cidstart=polarity ; Added for UK CLI detection
context=fromzap
channel => 4

Found the answer to my problem I used this code
Works fine

[channels]

language=en
context=from-pstn
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
ukcallerid=yes
;cidsignalling=v23
;cidstart=polarity
;hanguponpolarityswitch=yes
busydetect=yes
;busycount=6
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=no
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
rxgain=3.0
txgain=3.0
group=0
callgroup=1
pickupgroup=1
immediate=no
channels => 3-4

Hi
What version of * are you using

ukcallerid=yes was a patch many moons ago and afaik doesnt appear in standard source anymore. But if it works dont knock it

Ian