Hello list,

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

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


The wav-file is MONO, 8000Hz according to SoX and confirmed by the sox mailinglist (http://sourceforge.net/mailarchive/message.php?msg_name=4C6A4661.9000209%40telenet.be)

[r...@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,

Jonas.
-- 
_____________________________________________________________________
-- 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