Discussion:
[asterisk-users] Convert a file from WAV to WAV49 or GSM for Asterisk
Chris Carey
2007-01-04 17:08:16 UTC
Permalink
I would like to convert a file to WAV49 for use with Asterisk using
the linux command line. Specifically I would like to upload sounds to
use for unavail.wav and busy.wav, but I'd like them to be compressed
so that space is not wasted.

I tried using SOX but havent found the correct command-line options to
make it or Asterisk happy.

Ideas?
Noah Miller
2007-01-04 18:03:42 UTC
Permalink
Hi Chris -
Post by Chris Carey
I would like to convert a file to WAV49 for use with Asterisk using
the linux command line. Specifically I would like to upload sounds to
use for unavail.wav and busy.wav, but I'd like them to be compressed
so that space is not wasted.
I tried using SOX but havent found the correct command-line options to
make it or Asterisk happy.
You can just use gsm format. It uses the same encoding as wav49.
Here's page on the wiki about using sox, in general:

http://www.voip-info.org/tiki-index.php?page=Convert+WAV+audio+files+for+use+in+Asterisk

BTW: I'm a little curious about what application would require you to
conserve disk space that much, but not worry about conserving CPU for
transcoding sound files.

- Noah

Loading...