CDR and callerid

I think this is my problem (as always :blush:)

I think I have caller id working, but it seems that looking at the CDR logs I get caller id for the first ring, then every ring afterwards has no caller id. I ran the wctdm in debug mode and got:

syslog:Dec 9 18:19:00 dracospodis kernel: RING on 1/1!
syslog:Dec 9 18:19:01 dracospodis kernel: NO RING on 1/1!
syslog:Dec 9 18:19:03 dracospodis kernel: RING on 1/1!
syslog:Dec 9 18:19:04 dracospodis kernel: NO RING on 1/1!
syslog:Dec 9 18:19:06 dracospodis kernel: RING on 1/1!
syslog:Dec 9 18:19:07 dracospodis kernel: NO RING on 1/1!

The CDR logger records each of the ring/no ring pairs as a separate call, so every 3 seconds there is an entry in the CDR database as a call with no caller id. Is there a way to fix this so that one call=one CDR entry?