Call Monitoring/Recordings and ring groups

I have a dialplan that goes from Trunk -> ring group 1 -> ring group 2 -> voicemail. I have all extensions 100-109 have recording in and out as always and I have 2 ring groups like so

ring group 1 (ext 600) contains extensions 105
ring group 2 (ext 601) contains extensions 100-109

If extension 105 answers the call, there will be only 1 file /var/spool/asterisk/monitor/g105-20070808-123001-XXXXXX.XX.wav

Now the dilemma is if 105 does not answer and thus, the dialplan goes to ring group 2. When that happens, another file is created. It doesn’t matter who picks up. The files are


I can edit the /var/lib/asterisk/agi-bin/recordingcheck and rename the callfilename to ${UNIQUEID}.wav but that would not contain some relevant information such as date, time, and person that received the call. Also, it seems 100 is always the extension that is appended to the 2nd filename.

edit I am using Asterisk 1.2.17 and FreePBX 2.2.1.