And even when I think the format is correct :

[r...@asterisk testing]# sox test.wav -r 8000 -c1 test.wav resample -ql
sox sox: effect `resample' is deprecated; see sox(1) for an alternative
sox wav: Premature EOF on .wav input file

[r...@asterisk testing]# file test.wav
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz


It is still not working :

[r...@asterisk testing]# asterisk -rx "file convert test.wav test.alaw"
Unable to open input file: test.wav



Jonas.

On 08/14/2010 04:30 PM, Motiejus Jakštys wrote:
On Sat, Aug 14, 2010 at 4:24 PM, Jonas Kellens <jonas.kell...@telenet.be <mailto:jonas.kell...@telenet.be>> wrote:
>
> intro extended version.wav: RIFF (little-endian) data, WAVE audio, Microsoft
> PCM, 16 bit, stereo 44100 Hz
>

You need *MONO, 8000Hz*

$ man sox

--
Motiejus Jakštys
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to