Customize output of module without editing module files

I am trying to get stereo recording to work in our PBX and found this SOLVED - Stereo Recordings it seems like it would work good but the problem for me is that there is a need to edit the call recording module file. Obviously this would cause warnings in the dashboard and possibly get overwritten with upgrades so I want to avoid doing that. I am wondering if there is a way that I can intercept the callrecording_get_config($engine) function and make the changes in my own custom module or if there is a _custom.conf file I can create that can replace the lines that are generated by the call recording module?

Why not submit a patch?