If you really want to make sure that transcoding will not be due to missing sounds in a given format, you can convert all available sounds files in other format yourself using the "convert" application available in Asterisk 1.4.
Here is a bash script that I have created in order to help me recursively convert sound files in all formats that are available in asterisk 1.4.
Give it a try, you will love it.
It is called soundsright. Here are different ways to run it.
Code:
# ./soundsright wav g729 /var/lib/asterisk/sounds/
or
Code:
# ./soundsright wav ulaw /var/lib/asterisk/sounds/
or
Code:
# ./soundsright gsm alaw /var/lib/asterisk/sounds/
These usage example will only pretend and not actually convert the sounds files. It will help you get an idea about the task ahead.
The actual conversion will be done when you use the option --convert.
The above example will become ...
Code:
# ./soundsright wav g729 /var/lib/asterisk/sounds/ --convert
or
Code:
# ./soundsright wav ulaw /var/lib/asterisk/sounds/ --convert
or
Code:
# ./soundsright gsm alaw /var/lib/asterisk/sounds/ --convert
If you run the script without any parameters, it will return the help page.