Matching recordings to DB records

I am trying to match recordings to d/b records for an application and I am having troubles figuring out what the layout of the recording name is.

For example below is a recording on my system:
OUT1014-20100311-144438-1268336678.97280.wav
g1099-20100330-161423-1269980063.120296.wav
20100415-091618-1271337378.150460.wav

The first two file names have the extension in the beginning, then date, then time, then some number.

The last one is inbound and does not start with the extension but still ends with some number of unknown origin.

What table do I read to match the recording up with a call?

What is that last unknown number?