Vicidial-recording-tools is a project mainly written in Ruby, it's free.
Vicidial Recordig file tools