I am attempting to create a report of transferred calls from the calldetailrecord table in the CDR database using Call Manager 4.2. I have read the documentation provided for the table and it looks to me like if there is a call from 555-1212 to ext 100 and ext 100 transfers it to 101, I should see something like this:
However, I have a few problems. First of all, I can't find anything like this pattern in over 4 months worth of data from our system, where lots of calls are transferred each day, although right now I'm just kind of combing through using different queries by time etc. Also, I have a lot of records where the CallingPartyNumber column is blank, or the OriginalCalledPartyNumber field has a weird value starting with b, like b5627368934. Also I cannot seem to determine which column would link together all of the segments of a call for a transferred call, so that I can see all transfers for one actual call (which is why I'm just trying all sorts of different queries right now). Can anyone help me out with an example query to find some transferred calls and list out all of the transfers for each call?