Add inbound DID to CDR?

We have several inbound DID numbers which all go to our Main Queue. I got asked how many calls came in from each during a period of time. I looked at the CDR records and could not find a field with that information. Is there anyway to do this? I am using asterisk ver 1.4 FreePBX 2.5.2.1