The wav file is not in the correct format. Also the number of channels 
and sampling frequency it is reporting is complete nonsense. This is 
what it should display:-
RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz

Jonas Kellens wrote:
> 
> 1. the converting is not working
> 
> [r...@asterisk testing]# file 01Long.wav
> 01Long.wav: RIFF (little-endian) data, WAVE audio, 20294 channels 
> 1414676809 Hz
> 
> [r...@asterisk testing]# asterisk -rx "file convert 
> /var/lib/asterisk/testing/01Long.wav /var/lib/asterisk/testing/01Long.alaw"
> Unable to open input file: /var/lib/asterisk/testing/01Long.wav
> 
> 
> 2. This does not explain why I can't use class "default" AND class 
> "whatever".
> 
> 
> Jonas.
> 
> 
> On 08/13/2010 12:47 PM, Gareth Blades wrote:
>> Asterisk can convert from wav but it still needs to be in the correct 
>> format. See 
>> http://www.voip-info.org/tiki-index.php?page=Convert+WAV+audio+files+for+use+in+Asterisk


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