<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 8/17/2010 9:00 AM, Jonas Kellens wrote:
<blockquote cite="mid:4C6A8809.8050101@telenet.be" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font face="Helvetica, Arial, sans-serif">Hello list,<br>
<br>
it seems that Asterisk is unable to convert a wav-file into an
alaw-file :<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">[root@asterisk
testing]# asterisk -rx "file convert testExtended2.wav
testExtended2.alaw"<br>
Unable to open input file: testExtended2.wav<br>
[root@asterisk testing]# asterisk -rx "file convert
testLong2.wav
testLong2.alaw"<br>
Unable to open input file: testLong2.wav<br>
</font></blockquote>
<br>
Try using an absolute path to the files:<br>
<br>
asterisk -rx "file convert /path/to/testExtended2.wav
/path/to/textExtended2.alaw"<br>
<br>
Sean<br>
</body>
</html>