sound-for-trixbox
From the command line you can convert any sound file to ulaw using sox
sox -V example.wav -r 8000 -c 1 -t ul -w example.ulaw
You can also convert from windows wav files to asterisk wav files
sox foo-in.wav -r 8000 -c 1 -s -w foo-out.wav resample -ql
