Convert g729 voicemails to wav or mp3

We have ample g729 licenses and need a way to convert the voicemails to mp3 or WAV, can anyone offer an easy solution to do this on the server itself? Thanks!

Shaun

asterisk -rx “file convert myfile.g729 myfile.wav”