Call recordings

My system is Asterisk v 1.6.2.20, FreePBX 2.7.0.

Is there anyway I can change the call recording save name to something like: remote phone number, year, month, date, hour, min, sec.

example: 8185551234_20111117_1100.wav

Also is there anyway I can communicate the save file to a mySQL database for future queries?