<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Converting with sox works
well as followed :<br>
<br>
sox -V intro.wav -c 1 -r 8000 intro2.wav<br>
<br>
To convert with asterisk convert, I needed to use an absolute path :<br>
<br>
asterisk -rx "file convert /var/lib/asterisk/moh/folder/intro.wav
/var/lib/asterisk/folder/intro.alaw"<br>
<br>
<br>
All works well.<br>
<br>
<br>
Jonas.<br>
</font><br>
On 08/19/2010 02:31 AM, Nasir Iqbal wrote:
<blockquote
cite="mid:AANLkTimXYODvyrvod=-Y=Qi4kHTKkP7pyYvm10DzPLvn@mail.gmail.com"
type="cite">Hi
<div><br>
</div>
<div>to convert wav file use following </div>
<div><br>
</div>
<div>sox 'orgFile' -w -r 8000 -c 1 -s 'fixedFile' </div>
<div><br>
</div>
<div>while replace orgFile and fixedFile with actual filenames </div>
<div><br>
</div>
<div><br>
</div>
<div>If still now luck try with mp3</div>
<div><br>
</div>
<div>Regards</div>
</blockquote>
</body>
</html>