[asterisk-users] Convert wav-file to alaw-file

Jonas Kellens jonas.kellens at telenet.be
Tue Aug 17 08:00:57 CDT 2010

Hello list,

it seems that Asterisk is unable to convert a wav-file into an alaw-file :

[root at asterisk testing]# asterisk -rx "file convert testExtended2.wav 
Unable to open input file: testExtended2.wav
[root at asterisk testing]# asterisk -rx "file convert testLong2.wav 
Unable to open input file: testLong2.wav

The wav-file is MONO, 8000Hz according to SoX and confirmed by the sox 

[root at asterisk testing]# soxi testLong2.wav

Input File     : 'testLong2.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 16-bit
Duration       : 00:01:27.05 = 696427 samples ~ 6529 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM

Why then can I not use Asterisk to 'convert' to alaw ?!

Kind regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100817/78ec3671/attachment-0001.htm 

More information about the asterisk-users mailing list