[Asterisk-Users] Asterisk native sounds now available!

Kristian Kielhofner kris at krisk.org
Tue Feb 7 12:54:58 MST 2006


Colin Anderson wrote:
>>Also if you have a nice linux script to take out some of the effort that
>>would be fantastic but if not I am sure the sox man page will help me
>>out.
> 
> 
> Prep your WAV's as 8Khz mono. In a pinch, Windows sound recorder will do.
> Then: 
> 
> GSM:
> 
> #/bin/sh
> for I in *.wav
> do sox $I `basename $I .wav `.gsm
> done
> 
> Ulaw: 
> 
> #/bin/sh
> for I in *.wav
> do sox $I `basename $I .wav `.ul
> done
> 
> hth

It's usually better to record with 44.1 (or even 48khz) and resample 
with sox (to 8khz).  Then use this:

http://redice.krisk.org

To convert them to the various Asterisk formats.

--
Kristian Kielhofner



More information about the asterisk-users mailing list